Changeset 39539 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Dec 6, 2011 2:03:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/d3d9_main.c
r33656 r39539 64 64 65 65 HRESULT WINAPI DECLSPEC_HOTPATCH Direct3DCreate9Ex(UINT SDKVersion, IDirect3D9Ex **direct3d9ex) { 66 #ifndef VBOX_WITH_WDDM 67 /* real D3D lib does not allow 9Ex creation if no WDDM driver is installed, 68 * the Direct3DCreate9Ex should return D3DERR_NOTAVAILABLE in that case. 69 * do it that way for our XPWM case */ 70 return D3DERR_NOTAVAILABLE; 71 #else 66 72 IDirect3D9 *ret; 67 73 IDirect3D9Impl* object; 68 69 74 TRACE("Calling Direct3DCreate9\n"); 70 75 ret = Direct3DCreate9(SDKVersion); … … 78 83 *direct3d9ex = (IDirect3D9Ex *) object; 79 84 return D3D_OK; 85 #endif 80 86 } 81 87
Note:
See TracChangeset
for help on using the changeset viewer.