Implement wglCreateLayerContext for layer 0.

This commit is contained in:
Lionel Ulmer 2002-11-30 01:55:59 +00:00 committed by Alexandre Julliard
parent 5cb15cda5e
commit 374a7abd65
1 changed files with 6 additions and 1 deletions

View File

@ -163,7 +163,12 @@ HGLRC WINAPI wglCreateContext(HDC hdc)
*/ */
HGLRC WINAPI wglCreateLayerContext(HDC hdc, HGLRC WINAPI wglCreateLayerContext(HDC hdc,
int iLayerPlane) { int iLayerPlane) {
FIXME("(%p,%d): stub !\n", hdc, iLayerPlane); TRACE("(%p,%d)\n", hdc, iLayerPlane);
if (iLayerPlane == 0) {
return wglCreateContext(hdc);
}
FIXME(" no handler for layer %d\n", iLayerPlane);
return NULL; return NULL;
} }