mirror of
https://github.com/glfw/glfw.git
synced 2026-01-12 07:43:16 +01:00
Remove no-op ReleaseDC
This commit is contained in:
@@ -476,12 +476,6 @@ void _glfwDestroyContext(_GLFWwindow* window)
|
||||
_glfw_wglDeleteContext(window->context.wgl.handle);
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user