aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-05-15 17:57:29 +0200
committerAndre Weissflog <floooh@gmail.com>2023-05-15 17:57:29 +0200
commitd58923926f52aefd2c1d7fd4b60bd885bb9f5129 (patch)
treeb297b7056b82f46a6ff7f3cfe0742999eee19c63 /util
parent726fce2cc7f7bec2aa72af49f0323bb40cab9647 (diff)
sokol_gfx.h: rename sg_image_desc.render_attachment back to .render_target
Diffstat (limited to 'util')
-rw-r--r--util/sokol_gfx_imgui.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/util/sokol_gfx_imgui.h b/util/sokol_gfx_imgui.h
index bb07892d..6999b436 100644
--- a/util/sokol_gfx_imgui.h
+++ b/util/sokol_gfx_imgui.h
@@ -3243,24 +3243,24 @@ _SOKOL_PRIVATE void _sg_imgui_draw_image_panel(sg_imgui_t* ctx, sg_image img) {
igSeparator();
_sg_imgui_draw_embedded_image(ctx, img, &img_ui->ui_scale);
igSeparator();
- igText("Type: %s", _sg_imgui_imagetype_string(desc->type));
- igText("Usage: %s", _sg_imgui_usage_string(desc->usage));
- igText("Render Attachment: %s", _sg_imgui_bool_string(desc->render_attachment));
- igText("Width: %d", desc->width);
- igText("Height: %d", desc->height);
- igText("Num Slices: %d", desc->num_slices);
- igText("Num Mipmaps: %d", desc->num_mipmaps);
- igText("Pixel Format: %s", _sg_imgui_pixelformat_string(desc->pixel_format));
- igText("Sample Count: %d", desc->sample_count);
- igText("Min Filter: %s", _sg_imgui_filter_string(desc->min_filter));
- igText("Mag Filter: %s", _sg_imgui_filter_string(desc->mag_filter));
- igText("Wrap U: %s", _sg_imgui_wrap_string(desc->wrap_u));
- igText("Wrap V: %s", _sg_imgui_wrap_string(desc->wrap_v));
- igText("Wrap W: %s", _sg_imgui_wrap_string(desc->wrap_w));
- igText("Border Color: %s", _sg_imgui_bordercolor_string(desc->border_color));
- igText("Max Anisotropy: %d", desc->max_anisotropy);
- igText("Min LOD: %.3f", desc->min_lod);
- igText("Max LOD: %.3f", desc->max_lod);
+ igText("Type: %s", _sg_imgui_imagetype_string(desc->type));
+ igText("Usage: %s", _sg_imgui_usage_string(desc->usage));
+ igText("Render Target: %s", _sg_imgui_bool_string(desc->render_target));
+ igText("Width: %d", desc->width);
+ igText("Height: %d", desc->height);
+ igText("Num Slices: %d", desc->num_slices);
+ igText("Num Mipmaps: %d", desc->num_mipmaps);
+ igText("Pixel Format: %s", _sg_imgui_pixelformat_string(desc->pixel_format));
+ igText("Sample Count: %d", desc->sample_count);
+ igText("Min Filter: %s", _sg_imgui_filter_string(desc->min_filter));
+ igText("Mag Filter: %s", _sg_imgui_filter_string(desc->mag_filter));
+ igText("Wrap U: %s", _sg_imgui_wrap_string(desc->wrap_u));
+ igText("Wrap V: %s", _sg_imgui_wrap_string(desc->wrap_v));
+ igText("Wrap W: %s", _sg_imgui_wrap_string(desc->wrap_w));
+ igText("Border Color: %s", _sg_imgui_bordercolor_string(desc->border_color));
+ igText("Max Anisotropy: %d", desc->max_anisotropy);
+ igText("Min LOD: %.3f", desc->min_lod);
+ igText("Max LOD: %.3f", desc->max_lod);
if (desc->usage != SG_USAGE_IMMUTABLE) {
igSeparator();
igText("Num Slots: %d", info.num_slots);