VirtualBox

Changeset 46602 in vbox for trunk


Ignore:
Timestamp:
Jun 17, 2013 4:10:51 PM (12 years ago)
Author:
vboxsync
Message:

wine: fix stream info buffer object

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/Makefile.kmk

    r46579 r46602  
    172172        VBOX_WITH_WINE_FIX_INITCLEAR \
    173173        VBOX_WITH_WINE_FIX_TEXCLEAR \
     174        VBOX_WITH_WINE_FIX_STRINFOBUF \
    174175        VBOX_WITH_WINE_DBG
    175176#wined3d_DEFS        += VBOX_WITH_WINE_FIXES
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/device.c

    r46521 r46602  
    295295
    296296        /* If the preload dropped the buffer object, update the stream info. */
    297         if (buffer->buffer_object != element->data.buffer_object)
     297        if (
     298#ifdef VBOX_WITH_WINE_FIX_STRINFOBUF
     299                element->data.buffer_object &&
     300#endif
     301                buffer->buffer_object != element->data.buffer_object)
    298302        {
    299303            element->data.buffer_object = 0;
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