VirtualBox

Changeset 48896 in vbox


Ignore:
Timestamp:
Oct 4, 2013 7:17:40 PM (11 years ago)
Author:
vboxsync
Message:

wined3d: fix vista Aero (do not resent viewport on same rt)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/device.c

    r48345 r48896  
    45414541    }
    45424542
     4543#ifdef VBOX_WITH_WDDM
     4544    /* @todo: should we extend this to XPDM as well?
     4545     * MSDN says that setting a *new* render target causes the viewport update to full size of the rt.*/
     4546    prev = device->fb.render_targets[render_target_idx];
     4547    if (render_target == prev)
     4548        return WINED3D_OK;
     4549#endif
     4550
    45434551    /* Set the viewport and scissor rectangles, if requested. Tests show that
    45444552     * stateblock recording is ignored, the change goes directly into the
     
    45634571    }
    45644572
    4565 
     4573#ifndef VBOX_WITH_WDDM
    45664574    prev = device->fb.render_targets[render_target_idx];
    45674575    if (render_target == prev)
    45684576        return WINED3D_OK;
     4577#endif
    45694578
    45704579    if (render_target)
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