Exemple #1
0
WINGDIAPI BOOL APIENTRY
wglMakeCurrent(
   HDC hdc,
   HGLRC hglrc )
{
   return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE;
}
Exemple #2
0
WINGDIAPI void WINAPI DrvReleaseContext(DHGLRC hglrc)
{
    DrvSetContext(0, 0, 0);
}