VirtualBox

Changeset 38283 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 2, 2011 5:40:33 PM (13 years ago)
Author:
vboxsync
Message:

wddm/wine: bugfix

File:
1 edited

Legend:

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

    r38239 r38283  
    41154115    }
    41164116
     4117    d3dfmt_get_conv(Src, TRUE /* We need color keying */, TRUE /* We will use textures */,
     4118            &desc, &convert);
     4119
     4120    if  (desc.convert || convert != NO_CONVERSION)
     4121    {
     4122        WARN("TODO: test if conversion works, rejecting gl blt\n");
     4123        return WINED3DERR_INVALIDCALL;
     4124    }
     4125
    41174126    if((convert != NO_CONVERSION) && (Src->Flags & SFLAG_PBO)) {
    41184127        WARN("conversion not supported here with PBO for src %p\n", Src);
    4119         return WINED3DERR_INVALIDCALL;
    4120     }
    4121 
    4122     d3dfmt_get_conv(Src, TRUE /* We need color keying */, TRUE /* We will use textures */,
    4123             &desc, &convert);
    4124 
    4125     if  (desc.convert || convert != NO_CONVERSION)
    4126     {
    4127         WARN("TODO: test if conversion works, rejecting gl blt\n");
    41284128        return WINED3DERR_INVALIDCALL;
    41294129    }
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