VirtualBox

Ignore:
Timestamp:
Oct 4, 2013 8:07:33 PM (11 years ago)
Author:
vboxsync
Message:

wined3d: better viewport fix

File:
1 edited

Legend:

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

    r48896 r48900  
    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 
    45514543    /* Set the viewport and scissor rectangles, if requested. Tests show that
    45524544     * stateblock recording is ignored, the change goes directly into the
     
    45714563    }
    45724564
    4573 #ifndef VBOX_WITH_WDDM
     4565
    45744566    prev = device->fb.render_targets[render_target_idx];
    45754567    if (render_target == prev)
    45764568        return WINED3D_OK;
    4577 #endif
    45784569
    45794570    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