Index: /trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
===================================================================
--- /trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp	(revision 29451)
+++ /trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp	(revision 29452)
@@ -887,5 +887,5 @@
     vboxVDbgPrint(("==> "__FUNCTION__", hAdapter(0x%p)\n", hAdapter));
 
-    AssertBreakpoint();
+//    AssertBreakpoint();
 
     PVBOXWDDMDISP_DEVICE pDevice = (PVBOXWDDMDISP_DEVICE)RTMemAllocZ(sizeof (VBOXWDDMDISP_DEVICE));
@@ -1031,5 +1031,5 @@
     vboxVDbgPrint(("==> "__FUNCTION__", hAdapter(0x%p)\n", hAdapter));
 
-    AssertBreakpoint();
+//    AssertBreakpoint();
 
     PVBOXWDDMDISP_ADAPTER pAdapter = (PVBOXWDDMDISP_ADAPTER)hAdapter;
@@ -1052,5 +1052,5 @@
     vboxVDbgPrint(("==> "__FUNCTION__"\n"));
 
-    AssertBreakpoint();
+//    AssertBreakpoint();
 
     HRESULT hr = S_OK;
Index: /trunk/src/VBox/Additions/WINNT/Graphics/Wine/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Additions/WINNT/Graphics/Wine/Makefile.kmk	(revision 29451)
+++ /trunk/src/VBox/Additions/WINNT/Graphics/Wine/Makefile.kmk	(revision 29452)
@@ -129,4 +129,7 @@
  wined3d_DEFS        += WINE_NO_DEBUG_MSGS
 endif
+ifdef VBOXWDDM
+ wined3d_DEFS        += VBOXWDDM 
+endif
 wined3d_INCS         := $(PATH_SUB_CURRENT)/include
 wined3d_SOURCES      := \
Index: /trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/directx.c
===================================================================
--- /trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/directx.c	(revision 29451)
+++ /trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/directx.c	(revision 29452)
@@ -5075,9 +5075,26 @@
 #ifdef USE_WIN32_OPENGL
 #define USE_GL_FUNC(pfn) pfn = (void*)GetProcAddress(mod_gl, #pfn);
+#ifdef VBOXWDDM
+        BOOL (APIENTRY *pDrvValidateVersion)(DWORD) DECLSPEC_HIDDEN;
+        mod_gl = LoadLibraryA("VBoxOGL.dll");
+#else
         mod_gl = LoadLibraryA("opengl32.dll");
+#endif
         if(!mod_gl) {
             ERR("Can't load opengl32.dll!\n");
             goto nogl_adapter;
         }
+#ifdef VBOXWDDM
+        /* init properly */
+        pDrvValidateVersion = (void*)GetProcAddress(mod_gl, "DrvValidateVersion");
+        if(!pDrvValidateVersion) {
+            ERR("Can't get DrvValidateVersion\n");
+            goto nogl_adapter;
+        }
+        if(!pDrvValidateVersion(1)) {
+            ERR("DrvValidateVersion FAILED\n");
+            goto nogl_adapter;
+        }
+#endif
 #else
 #define USE_GL_FUNC(pfn) pfn = (void*)pwglGetProcAddress(#pfn);
