Skip to content

Commit 730f099

Browse files
committed
Backends: OpenGL3: fixed unused variable warning. (#9507)
1 parent 724c69b commit 730f099

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backends/imgui_impl_opengl3.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ static void ImGui_ImplOpenGL3_SetupRenderState(ImDrawData* draw_data, ImGui_Impl
385385
glUniform1i(bd->AttribLocationTex, 0);
386386
glUniformMatrix4fv(bd->AttribLocationProjMtx, 1, GL_FALSE, &ortho_projection[0][0]);
387387

388+
(void)render_state;
388389
#ifdef IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_SAMPLER
389390
if (render_state->UseBindSampler)
390391
{

0 commit comments

Comments
 (0)