wgl: Implemente SwapLayerBuffers.
This commit is contained in:
committed by
Keith Whitwell
parent
0d0417cc75
commit
1ed90091be
@@ -583,7 +583,7 @@ DrvSwapLayerBuffers(
|
||||
if (DBG)
|
||||
debug_printf( "%s\n", __FUNCTION__ );
|
||||
|
||||
return FALSE;
|
||||
return stw_swap_layer_buffers( hdc, fuPlanes );
|
||||
}
|
||||
|
||||
BOOL APIENTRY
|
||||
|
||||
@@ -237,6 +237,18 @@ stw_swap_buffers(
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
stw_swap_layer_buffers(
|
||||
HDC hdc,
|
||||
UINT fuPlanes )
|
||||
{
|
||||
if(fuPlanes & WGL_SWAP_MAIN_PLANE)
|
||||
return stw_swap_buffers(hdc);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
boolean
|
||||
stw_framebuffer_init_thread(void)
|
||||
{
|
||||
|
||||
@@ -50,6 +50,9 @@ BOOL stw_make_current( HDC hdc, UINT_PTR hglrc );
|
||||
|
||||
BOOL stw_swap_buffers( HDC hdc );
|
||||
|
||||
BOOL
|
||||
stw_swap_layer_buffers( HDC hdc, UINT fuPlanes );
|
||||
|
||||
PROC stw_get_proc_address( LPCSTR lpszProc );
|
||||
|
||||
int stw_pixelformat_describe( HDC hdc,
|
||||
|
||||
@@ -100,10 +100,7 @@ wglSwapLayerBuffers(
|
||||
HDC hdc,
|
||||
UINT fuPlanes )
|
||||
{
|
||||
(void) hdc;
|
||||
(void) fuPlanes;
|
||||
|
||||
return FALSE;
|
||||
return stw_swap_layer_buffers( hdc, fuPlanes );
|
||||
}
|
||||
|
||||
WINGDIAPI PROC APIENTRY
|
||||
|
||||
Reference in New Issue
Block a user