- handle WGL_SWAP_MAIN_PLANE flag in rosglSwapLayerBuffers

svn path=/trunk/; revision=43131
This commit is contained in:
Kamil Hornicek 2009-09-24 16:35:20 +00:00
parent a05d1166e2
commit 28f4e36884

View file

@ -1195,9 +1195,15 @@ BOOL
APIENTRY
rosglSwapLayerBuffers( HDC hdc, UINT fuPlanes )
{
UNIMPLEMENTED;
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
BOOL ret = FALSE;
if(fuPlanes & WGL_SWAP_MAIN_PLANE)
ret = rosglSwapBuffers(hdc);
if(fuPlanes &~WGL_SWAP_MAIN_PLANE)
DBGTRACE("wglSwapLayerBuffers is not fully implemented\n");
return ret;
}