VirtualBox

Ignore:
Timestamp:
Dec 10, 2012 1:59:41 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: bugfix

File:
1 edited

Legend:

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

    r44059 r44079  
    319319                for (j=0; j<CRSTATECLIENT_MAX_VERTEXARRAYS; ++j)
    320320                {
    321                     CRClientPointer *cp = crStateGetClientPointerByIndex(i, &g->client.array);
     321                    CRClientPointer *cp = crStateGetClientPointerByIndex(j, &g->client.array);
    322322                    if (obj == cp->buffer)
    323323                    {
     
    332332                    for (j=0; j<CRSTATECLIENT_MAX_VERTEXARRAYS; ++j)
    333333                    {
    334                         CRClientPointer *cp = crStateGetClientPointerByIndex(i, pArray);
     334                        CRClientPointer *cp = crStateGetClientPointerByIndex(j, pArray);
    335335                        if (obj == cp->buffer)
    336336                        {
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