Commit a5fbca03 by Maxime Gregoire Committed by Maxime Grégoire

wglSwapBuffers signature fix

Change-Id: I5db85ef3d850582aa0134074f7e6fc873402f334 Reviewed-on: https://swiftshader-review.googlesource.com/2261Tested-by: 's avatarMaxime Grégoire <mgregoire@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent cdd2924e
......@@ -8232,7 +8232,7 @@ BOOL WINAPI wglShareLists(HGLRC, HGLRC)
return FALSE;
}
void WINAPI wglSwapBuffers()
BOOL WINAPI wglSwapBuffers(HDC hdc)
{
TRACE("(*)");
......@@ -8241,7 +8241,10 @@ void WINAPI wglSwapBuffers()
if(display)
{
display->getPrimarySurface()->swap();
return TRUE;
}
return FALSE;
}
BOOL WINAPI wglSwapLayerBuffers(HDC, UINT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment