Changeset 32545 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c
- Timestamp:
- Sep 16, 2010 10:00:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c
r32508 r32545 488 488 Assert(shared_handle); 489 489 VBOXSHRC_SET_INITIALIZED(surface); 490 IWineD3DSurface_LoadLocation( surface, SFLAG_INTEXTURE, NULL);490 IWineD3DSurface_LoadLocation((IWineD3DSurface*)surface, SFLAG_INTEXTURE, NULL); 491 491 if (!VBOXSHRC_IS_SHARED_OPENED(surface)) 492 492 { … … 3792 3792 if (wined3d_settings.strict_draw_ordering || (dstSwapchain 3793 3793 && ((IWineD3DSurface *)This == dstSwapchain->frontBuffer 3794 || dstSwapchain->num_contexts > 1))) 3794 #ifdef VBOXWDDM 3795 || dstSwapchain->device->numContexts > 1 3796 #else 3797 || dstSwapchain->num_contexts > 1 3798 #endif 3799 ))) 3795 3800 wglFlush(); /* Flush to ensure ordering across contexts. */ 3796 3801 … … 4402 4407 if (wined3d_settings.strict_draw_ordering || (swapchain 4403 4408 && ((IWineD3DSurface *)This == swapchain->frontBuffer 4404 || swapchain->num_contexts > 1))) 4409 #ifdef VBOXWDDM 4410 || swapchain->device->numContexts > 1 4411 #else 4412 || swapchain->num_contexts > 1 4413 #endif 4414 ))) 4405 4415 wglFlush(); /* Flush to ensure ordering across contexts. */ 4406 4416
Note:
See TracChangeset
for help on using the changeset viewer.