Fixed minor warning. Added comment.

This commit is contained in:
ocornut
2025-02-10 12:39:54 +01:00
parent a431e1277e
commit 88cda0cab6
2 changed files with 2 additions and 1 deletions

View File

@@ -303,6 +303,7 @@ bool ImGui_ImplOpenGL3_Init(const char* glsl_version)
// GLES 2
bd->GlVersion = 200;
bd->GlProfileIsES2 = true;
IM_UNUSED(gl_version_str);
#else
// Desktop or GLES 3
GLint major = 0;