儲存庫 vbox 的更動 18255
- 時間撮記:
- 2009-3-25 下午01:26:59 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_wgl.c
r17482 r18255 858 858 } 859 859 860 render_spu.ws.wglMakeCurrent( window->device_context, context->hRC ); 860 if (!render_spu.ws.wglMakeCurrent(window->device_context, context->hRC)) 861 { 862 DWORD err = GetLastError(); 863 crWarning("Render SPU: (MakeCurrent) failed to make 0x%x, 0x%x cureent with 0x%x error.", window->device_context, context->hRC, err); 864 865 /* Workaround for Intel drivers, which report support for wglChoosePixelFormatEXT, but it doesn't work. */ 866 if ((err==ERROR_INVALID_PIXEL_FORMAT) && (!context->everCurrent)) 867 { 868 crDebug("Trying to resetup pixel format"); 869 if (!bSetupPixelFormatNormal(window->device_context, context->visual->visAttribs)) 870 { 871 crWarning("Failed to resetup pixel format"); 872 } 873 874 if (!render_spu.ws.wglMakeCurrent(window->device_context, context->hRC)) 875 { 876 crError("Can't make context current"); 877 } 878 else 879 { 880 crInfo("Render SPU: (MakeCurrent) passed after pixel format reset"); 881 } 882 } 883 } 861 884 } 862 885
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器