示例#1
0
文件: wgl.cpp 项目: prabindh/openswr
WINGDIAPI HGLRC WINAPI DrvCreateLayerContext(HDC hdc, int layerPlane)
{
    if (layerPlane == 0)
    {
        return DrvCreateContext(hdc);
    }

    return 0;
}
示例#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;
    }

}
示例#3
0
WINGDIAPI HGLRC APIENTRY
wglCreateContext(
   HDC hdc )
{
   return (HGLRC) DrvCreateContext(hdc);
}