|
|
|
@ -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);
|
|
|
|
|