- Timestamp:
- May 13, 2010 9:04:58 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r29432 r29452 887 887 vboxVDbgPrint(("==> "__FUNCTION__", hAdapter(0x%p)\n", hAdapter)); 888 888 889 AssertBreakpoint();889 // AssertBreakpoint(); 890 890 891 891 PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)RTMemAllocZ(sizeof (VBOXWDDMDISP_DEVICE)); … … 1031 1031 vboxVDbgPrint(("==> "__FUNCTION__", hAdapter(0x%p)\n", hAdapter)); 1032 1032 1033 AssertBreakpoint();1033 // AssertBreakpoint(); 1034 1034 1035 1035 PVBOXWDDMDISP_ADAPTER pAdapter = (PVBOXWDDMDISP_ADAPTER)hAdapter; … … 1052 1052 vboxVDbgPrint(("==> "__FUNCTION__"\n")); 1053 1053 1054 AssertBreakpoint();1054 // AssertBreakpoint(); 1055 1055 1056 1056 HRESULT hr = S_OK; -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/Makefile.kmk
r28800 r29452 129 129 wined3d_DEFS += WINE_NO_DEBUG_MSGS 130 130 endif 131 ifdef VBOXWDDM 132 wined3d_DEFS += VBOXWDDM 133 endif 131 134 wined3d_INCS := $(PATH_SUB_CURRENT)/include 132 135 wined3d_SOURCES := \ -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/directx.c
r28475 r29452 5075 5075 #ifdef USE_WIN32_OPENGL 5076 5076 #define USE_GL_FUNC(pfn) pfn = (void*)GetProcAddress(mod_gl, #pfn); 5077 #ifdef VBOXWDDM 5078 BOOL (APIENTRY *pDrvValidateVersion)(DWORD) DECLSPEC_HIDDEN; 5079 mod_gl = LoadLibraryA("VBoxOGL.dll"); 5080 #else 5077 5081 mod_gl = LoadLibraryA("opengl32.dll"); 5082 #endif 5078 5083 if(!mod_gl) { 5079 5084 ERR("Can't load opengl32.dll!\n"); 5080 5085 goto nogl_adapter; 5081 5086 } 5087 #ifdef VBOXWDDM 5088 /* init properly */ 5089 pDrvValidateVersion = (void*)GetProcAddress(mod_gl, "DrvValidateVersion"); 5090 if(!pDrvValidateVersion) { 5091 ERR("Can't get DrvValidateVersion\n"); 5092 goto nogl_adapter; 5093 } 5094 if(!pDrvValidateVersion(1)) { 5095 ERR("DrvValidateVersion FAILED\n"); 5096 goto nogl_adapter; 5097 } 5098 #endif 5082 5099 #else 5083 5100 #define USE_GL_FUNC(pfn) pfn = (void*)pwglGetProcAddress(#pfn);
Note:
See TracChangeset
for help on using the changeset viewer.