VirtualBox

Ignore:
Timestamp:
Jun 10, 2013 12:11:05 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: fix glsl state

File:
1 edited

Legend:

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

    r45027 r46462  
    632632        if (!crStrcmp(pProgram->currentState.pAttribs[i].name, name))
    633633        {
    634             crFree(pProgram->currentState.pAttribs[i].name);
    635             pProgram->currentState.pAttribs[i].name = crStrdup(name);
     634            pProgram->currentState.pAttribs[i].index = index;
    636635            return;
    637636        }
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