mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(WGL) Try to use wglSwapLayerBuffers first before resorting to SwapBuffers
This commit is contained in:
parent
1205c2f438
commit
e065d70426
@ -368,7 +368,8 @@ static void gfx_ctx_wgl_swap_buffers(void *data, void *data2)
|
||||
{
|
||||
case GFX_CTX_OPENGL_API:
|
||||
#ifdef HAVE_OPENGL
|
||||
SwapBuffers(win32_hdc);
|
||||
if (wglSwapLayerBuffers(win32_hdc, WGL_SWAP_MAIN_PLANE) == FALSE)
|
||||
SwapBuffers(win32_hdc);
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user