VirtualBox

Ignore:
Timestamp:
Aug 10, 2011 11:46:47 AM (13 years ago)
Author:
vboxsync
Message:

crOpenGL: add workaround for #5831

File:
1 edited

Legend:

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

    r37613 r38394  
    879879    cp->buffer = ui==0 ? pContext->bufferobject.nullBuffer : crHashtableSearch(pContext->shared->buffersTable, ui);
    880880
     881    if (!cp->buffer)
     882    {
     883        crWarning("crStateLoadClientPointer: ui=%d loaded as NULL buffer!", ui);
     884    }
     885
    881886#ifdef CR_EXT_compiled_vertex_array
    882887    if (cp->locked)
     
    19921997
    19931998                rc = SSMR3GetMem(pSSM, &pProgram->pUniforms[k].type, sizeof(GLenum));
     1999                AssertRCReturn(rc, rc);
    19942000                pProgram->pUniforms[k].name = crStateLoadString(pSSM);
    19952001
     
    20042010
    20052011                rc = SSMR3GetMem(pSSM, pProgram->pUniforms[k].data, datasize);
     2012                AssertRCReturn(rc, rc);
    20062013            }
    20072014        }
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