VirtualBox

Ignore:
Timestamp:
Oct 6, 2009 6:07:06 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: update to wine 1.1.30

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/d3d9_main.c

    r16477 r23571  
    3535#include "d3d9_private.h"
    3636
    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 
    4637WINE_DEFAULT_DEBUG_CHANNEL(d3d9);
    4738
     
    5748    object->lpVtbl = &Direct3D9_Vtbl;
    5849    object->ref = 1;
    59     EnterCriticalSection(&d3d9_cs);
     50
     51    wined3d_mutex_lock();
    6052    object->WineD3D = WineDirect3DCreate(9, (IUnknown *)object);
    61     LeaveCriticalSection(&d3d9_cs);
     53    wined3d_mutex_unlock();
    6254
    6355    TRACE("SDKVersion = %x, Created Direct3D object @ %p, WineObj @ %p\n", SDKVersion, object, object->WineD3D);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette