Lines Matching refs:hRC
1326 //context->hRC = render_spu.ws.wglCreateContext( visual->device_context );
1327 if (!context->hRC)
1334 context->hRC = NULL; /* create it later in makecurrent */
1343 render_spu.ws.wglDeleteContext( context->hRC );
1344 context->hRC = NULL;
1351 if (sharedContext->hRC)
1370 sharedContext->hRC = render_spu.ws.wglCreateContext(window->device_context);
1371 if (!sharedContext->hRC)
1421 if (context->hRC == 0) {
1422 context->hRC = render_spu.ws.wglCreateContext( window->nativeWindow );
1423 if (!context->hRC)
1430 && context->shared->hRC
1431 && context->hRC)
1434 render_spu.ws.wglShareLists(context->shared->hRC, context->hRC);
1437 render_spu.ws.wglMakeCurrent( window->nativeWindow, context->hRC );
1441 if (!context->hRC) {
1449 context->hRC = render_spu.ws.wglCreateContext(window->device_context);
1450 if (!context->hRC)
1456 && context->shared->hRC
1457 && context->hRC)
1460 BOOL bRc = render_spu.ws.wglShareLists(context->shared->hRC, context->hRC);
1493 /*crDebug("MakeCurrent 0x%x, 0x%x", window->device_context, context->hRC);*/
1494 if (!render_spu.ws.wglMakeCurrent(!nativeWindow ? window->device_context : window->redraw_device_context, context->hRC))
1497 crError("Render SPU: (MakeCurrent) failed to make 0x%x, 0x%x current with 0x%x error.", window->device_context, context->hRC, err);