1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

Remove no-op ReleaseDC

This commit is contained in:
Camilla Berglund 2015-11-03 14:46:16 +01:00
parent fc250c3df7
commit 12903ee9b5

View File

@ -476,12 +476,6 @@ void _glfwDestroyContext(_GLFWwindow* window)
_glfw_wglDeleteContext(window->context.wgl.handle); _glfw_wglDeleteContext(window->context.wgl.handle);
window->context.wgl.handle = NULL; window->context.wgl.handle = NULL;
} }
if (window->context.wgl.dc)
{
ReleaseDC(window->win32.handle, window->context.wgl.dc);
window->context.wgl.dc = NULL;
}
} }
// Analyzes the specified context for possible recreation // Analyzes the specified context for possible recreation