mirror of
https://github.com/Drezil/imgui.git
synced 2025-01-17 18:46:35 +00:00
Tweak
This commit is contained in:
parent
d184730dd2
commit
dc1cb9e625
@ -286,9 +286,7 @@ void ImGui_ImplGlfwGL3_Shutdown()
|
||||
if (g_VaoHandle) glDeleteVertexArrays(1, &g_VaoHandle);
|
||||
if (g_VboHandle) glDeleteBuffers(1, &g_VboHandle);
|
||||
if (g_ElementsHandle) glDeleteBuffers(1, &g_ElementsHandle);
|
||||
g_ElementsHandle = 0;
|
||||
g_VaoHandle = 0;
|
||||
g_VboHandle = 0;
|
||||
g_VaoHandle = g_VboHandle = g_ElementsHandle = 0;
|
||||
|
||||
glDetachShader(g_ShaderHandle, g_VertHandle);
|
||||
glDeleteShader(g_VertHandle);
|
||||
|
Loading…
Reference in New Issue
Block a user