Esempio n. 1
0
WINGDIAPI HGLRC WINAPI DrvCreateLayerContext(HDC hdc, int layerPlane)
{
    if (layerPlane == 0)
    {
        return DrvCreateContext(hdc);
    }

    return 0;
}
Esempio n. 2
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;
    }

}
Esempio n. 3
0
WINGDIAPI HGLRC APIENTRY
wglCreateContext(
   HDC hdc )
{
   return (HGLRC) DrvCreateContext(hdc);
}