Changeset 39150 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine
- Timestamp:
- Oct 31, 2011 1:37:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c
r39130 r39150 4320 4320 #ifdef VBOX_WITH_WDDM 4321 4321 surface_shrc_lock(This); 4322 surface_shrc_lock(Src);4322 if (Src) surface_shrc_lock(Src); 4323 4323 #endif 4324 4324 … … 4349 4349 4350 4350 #ifdef VBOX_WITH_WDDM 4351 if ( IWineD3DSurfaceImpl_BltSys2Vram(This, DestRect, SrcSurface, SrcRect, Flags, DDBltFx, Filter) == WINED3D_OK)4351 if (SrcSurface && IWineD3DSurfaceImpl_BltSys2Vram(This, DestRect, SrcSurface, SrcRect, Flags, DDBltFx, Filter) == WINED3D_OK) 4352 4352 { 4353 4353 hr = WINED3D_OK; … … 4364 4364 #ifdef VBOX_WITH_WDDM 4365 4365 surface_shrc_unlock(This); 4366 surface_shrc_unlock(Src);4366 if (Src) surface_shrc_unlock(Src); 4367 4367 #endif 4368 4368 return hr;
Note:
See TracChangeset
for help on using the changeset viewer.