VirtualBox

Changeset 45488 in vbox for trunk/src/VBox/GuestHost/OpenGL


Ignore:
Timestamp:
Apr 11, 2013 4:39:00 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: shared textures fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texture.c

    r44125 r45488  
    895895    if (!tobj)
    896896    {
    897         crWarning("crStateSetTextureUsed: failed to fined a HW name for texture(%d)!", texture);
    898         return;
     897#ifdef IN_GUEST
     898        if (used)
     899        {
     900            tobj = crStateTextureAllocate_t(g, texture);
     901        }
     902        else
     903#endif
     904        {
     905            crWarning("crStateSetTextureUsed: failed to fined a HW name for texture(%d)!", texture);
     906            return;
     907        }
    899908    }
    900909
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