Changeset 46661 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Jun 19, 2013 2:21:36 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86551
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/device.c
r46521 r46661 288 288 unsigned i; 289 289 LONG refs = device->refcount; 290 LONG wined3d_refs; 290 291 device->in_destruction = TRUE; 291 292 … … 311 312 wined3d_device_release_focus_window(device->wined3d_device); 312 313 # endif 313 wined3d_ device_decref(device->wined3d_device);314 wined3d_refs = wined3d_device_decref(device->wined3d_device); 314 315 wined3d_mutex_unlock(); 315 316 … … 318 319 HeapFree(GetProcessHeap(), 0, device); 319 320 320 return refs - 1;321 return wined3d_refs; 321 322 } 322 323 #endif … … 3912 3913 { 3913 3914 struct d3d9_device *device = impl_from_IDirect3DDevice9Ex(iface); 3915 struct wined3d_device *wined3d_device = device->wined3d_device; 3914 3916 LONG wined3d_refs; 3915 3917 if (device->refcount != 1) … … 3921 3923 { 3922 3924 ERR("unexpected wined3dRefs %d, destroying in anyway", wined3d_refs); 3923 while (wined3d_device_decref( device->wined3d_device)) {}3925 while (wined3d_device_decref(wined3d_device)) {} 3924 3926 } 3925 3927 return D3D_OK;
Note:
See TracChangeset
for help on using the changeset viewer.