WINGDIAPI HGLRC WINAPI DrvCreateLayerContext(HDC hdc, int layerPlane) { if (layerPlane == 0) { return DrvCreateContext(hdc); } return 0; }
HGLRC APIENTRY DrvCreateLayerContext(HDC hdc, int iLayerPlane) { CR_DDI_PROLOGUE(); crDebug( "DrvCreateLayerContext(0x%x, %i) called.", hdc, iLayerPlane); //We don't support more than 1 layers. if (iLayerPlane == 0) { return DrvCreateContext(hdc); } else { crError( "DrvCreateLayerContext (%x,%x): unsupported", hdc, iLayerPlane); return NULL; } }
WINGDIAPI HGLRC APIENTRY wglCreateContext( HDC hdc ) { return (HGLRC) DrvCreateContext(hdc); }