VirtualBox

Changeset 37394 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jun 9, 2011 3:25:30 PM (13 years ago)
Author:
vboxsync
Message:

Wddm/3D: fixed random screen corruption when running 3d apps under aero on win7

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/arb_program_shader.c

    r35825 r37394  
    69636963        dst_rect.top += dst_surface->currentDesc.Height - h; dst_rect.bottom += dst_surface->currentDesc.Height - h;
    69646964    }
     6965    else if (surface_is_offscreen((IWineD3DSurface *)dst_surface))
     6966    {
     6967        dst_rect.top = dst_surface->currentDesc.Height-dst_rect.top;
     6968        dst_rect.bottom = dst_surface->currentDesc.Height-dst_rect.bottom;
     6969    }
    69656970
    69666971    arbfp_blit_set((IWineD3DDevice *)device, src_surface);
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c

    r33656 r37394  
    38323832            dst_rect.top += This->currentDesc.Height - h; dst_rect.bottom += This->currentDesc.Height - h;
    38333833        }
     3834        else if (surface_is_offscreen((IWineD3DSurface *)This))
     3835        {
     3836            dst_rect.top = This->currentDesc.Height-dst_rect.top;
     3837            dst_rect.bottom = This->currentDesc.Height-dst_rect.bottom;
     3838        }
    38343839
    38353840        if (!myDevice->blitter->blit_supported(&myDevice->adapter->gl_info, BLIT_OP_BLIT,
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