VirtualBox

Changeset 31906 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
Aug 24, 2010 10:20:55 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65116
Message:

crOpenGL: fix incorrect shader's uniforms store

File:
1 edited

Legend:

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

    r31808 r31906  
    818818                {
    819819                    sprintf(pIndexStr, "[%i]", j);
    820                     location = diff_api.GetUniformLocation(pProgram->hwid, name);
    821820                }
    822                 else
    823                 {
    824                     location = i;
    825                 }
     821                location = diff_api.GetUniformLocation(pProgram->hwid, name);
    826822
    827823                rc = SSMR3PutMem(pSSM, &type, sizeof(type));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette