From b2d9bad3a2c43dd700f66fab266ce1c1cd33daae Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Tue, 22 Aug 2017 17:44:40 +0200 Subject: [PATCH] Update wgl_ctx.c --- gfx/drivers_context/wgl_ctx.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gfx/drivers_context/wgl_ctx.c b/gfx/drivers_context/wgl_ctx.c index 04df13d6c4..64c4be8a09 100644 --- a/gfx/drivers_context/wgl_ctx.c +++ b/gfx/drivers_context/wgl_ctx.c @@ -367,12 +367,8 @@ static void gfx_ctx_wgl_swap_buffers(void *data, void *data2) switch (win32_api) { case GFX_CTX_OPENGL_API: -#ifdef HAVE_OPENGL - if (wglSwapLayerBuffers(win32_hdc, WGL_SWAP_MAIN_PLANE) == FALSE) - SwapBuffers(win32_hdc); -#endif + SwapBuffers(win32_hdc); break; - case GFX_CTX_VULKAN_API: #ifdef HAVE_VULKAN vulkan_present(&win32_vk, win32_vk.context.current_swapchain_index);