mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 22:26:34 +00:00
fixed space issues
This commit is contained in:
parent
5def10c3a0
commit
08a9e78da5
@ -279,15 +279,15 @@ void ImGui_ImplSdlGL3_InvalidateDeviceObjects()
|
|||||||
if (g_ElementsHandle) glDeleteBuffers(1, &g_ElementsHandle);
|
if (g_ElementsHandle) glDeleteBuffers(1, &g_ElementsHandle);
|
||||||
g_VaoHandle = g_VboHandle = g_ElementsHandle = 0;
|
g_VaoHandle = g_VboHandle = g_ElementsHandle = 0;
|
||||||
|
|
||||||
if(g_ShaderHandle && g_VertHandle ) glDetachShader(g_ShaderHandle, g_VertHandle);
|
if (g_ShaderHandle && g_VertHandle) glDetachShader(g_ShaderHandle, g_VertHandle);
|
||||||
if(g_VertHandle ) glDeleteShader(g_VertHandle);
|
if (g_VertHandle) glDeleteShader(g_VertHandle);
|
||||||
g_VertHandle = 0;
|
g_VertHandle = 0;
|
||||||
|
|
||||||
if(g_ShaderHandle && g_FragHandle ) glDetachShader(g_ShaderHandle, g_FragHandle);
|
if (g_ShaderHandle && g_FragHandle) glDetachShader(g_ShaderHandle, g_FragHandle);
|
||||||
if(g_FragHandle ) glDeleteShader(g_FragHandle);
|
if (g_FragHandle) glDeleteShader(g_FragHandle);
|
||||||
g_FragHandle = 0;
|
g_FragHandle = 0;
|
||||||
|
|
||||||
if(g_ShaderHandle ) glDeleteProgram(g_ShaderHandle);
|
if (g_ShaderHandle) glDeleteProgram(g_ShaderHandle);
|
||||||
g_ShaderHandle = 0;
|
g_ShaderHandle = 0;
|
||||||
|
|
||||||
if (g_FontTexture)
|
if (g_FontTexture)
|
||||||
|
Loading…
Reference in New Issue
Block a user