From 12903ee9b585389e517c3eee2de0a7edbc70382d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 3 Nov 2015 14:46:16 +0100 Subject: [PATCH] Remove no-op ReleaseDC --- src/wgl_context.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/wgl_context.c b/src/wgl_context.c index de2f15cd..72467922 100644 --- a/src/wgl_context.c +++ b/src/wgl_context.c @@ -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