VirtualBox

Changeset 33732 in vbox


Ignore:
Timestamp:
Nov 3, 2010 4:14:44 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: fix memory corruption

File:
1 edited

Legend:

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

    r33656 r33732  
    4848    HRESULT hr;
    4949
     50    if (levels > MAX_MIP_LEVELS)
     51    {
     52        WARN("Too many texture levels %d", levels);
     53        return WINED3DERR_INVALIDCALL;
     54    }
     55
    5056    hr = resource_init((IWineD3DResource *)texture, resource_type, device,
    5157            size, usage, format_desc, pool, parent, parent_ops
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