mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:51:40 +00:00
- handle WGL_SWAP_MAIN_PLANE flag in rosglSwapLayerBuffers
svn path=/trunk/; revision=43131
This commit is contained in:
parent
a05d1166e2
commit
28f4e36884
1 changed files with 9 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue