Changeset 23571 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/d3d9_main.c
- Timestamp:
- Oct 6, 2009 6:07:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/d3d9_main.c
r16477 r23571 35 35 #include "d3d9_private.h" 36 36 37 static CRITICAL_SECTION_DEBUG d3d9_cs_debug =38 {39 0, 0, &d3d9_cs,40 { &d3d9_cs_debug.ProcessLocksList,41 &d3d9_cs_debug.ProcessLocksList },42 0, 0, { (DWORD_PTR)(__FILE__ ": d3d9_cs") }43 };44 CRITICAL_SECTION d3d9_cs = { &d3d9_cs_debug, -1, 0, 0, 0, 0 };45 46 37 WINE_DEFAULT_DEBUG_CHANNEL(d3d9); 47 38 … … 57 48 object->lpVtbl = &Direct3D9_Vtbl; 58 49 object->ref = 1; 59 EnterCriticalSection(&d3d9_cs); 50 51 wined3d_mutex_lock(); 60 52 object->WineD3D = WineDirect3DCreate(9, (IUnknown *)object); 61 LeaveCriticalSection(&d3d9_cs);53 wined3d_mutex_unlock(); 62 54 63 55 TRACE("SDKVersion = %x, Created Direct3D object @ %p, WineObj @ %p\n", SDKVersion, object, object->WineD3D);
Note:
See TracChangeset
for help on using the changeset viewer.