Skip to content

Commit

Permalink
sokol_gfx_imgui.h: render depth textures in image panel
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jul 2, 2023
1 parent ceac091 commit 0ca581b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion util/sokol_gfx_imgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -3316,7 +3316,6 @@ _SOKOL_PRIVATE void _sg_imgui_draw_buffer_panel(sg_imgui_t* ctx, sg_buffer buf)
_SOKOL_PRIVATE bool _sg_imgui_image_renderable(sg_image_type type, sg_pixel_format fmt, int sample_count) {
return (type == SG_IMAGETYPE_2D)
&& sg_query_pixelformat(fmt).sample
&& !sg_query_pixelformat(fmt).depth
&& sample_count == 1;
}

Expand Down

0 comments on commit 0ca581b

Please sign in to comment.