Changeset 66827 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker
- Timestamp:
- May 8, 2017 4:53:52 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 115274
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
r62814 r66827 250 250 { 251 251 CRStencilBufferStack_v_33 stackV33; 252 int32_t rc = SSMR3GetMem(pSSM, &stackV33, sizeof (stackV33)); 252 int32_t rc = SSMR3GetMem(pSSM, &stackV33, sizeof(stackV33)); 253 AssertLogRelReturn(rc, rc); 253 254 254 255 s->stencilTest = stackV33.stencilTest; … … 465 466 GLint curTex; 466 467 diff_api.GetIntegerv(getEnum, &curTex); 467 if ( curTex != pTexture->hwid)468 if ((GLuint)curTex != pTexture->hwid) 468 469 { 469 470 crWarning("texture not bound properly: expected %d, but was %d. Texture state data: target(0x%x), id(%d), w(%d), h(%d)", … … 1101 1102 static void crStateSaveGLSLShaderKeyCB(unsigned long key, void *data1, void *data2) 1102 1103 { 1103 CRGLSLShader *pShader = (CRGLSLShader*) data1;1104 //CRGLSLShader *pShader = (CRGLSLShader*) data1; 1104 1105 PSSMHANDLE pSSM = (PSSMHANDLE) data2; 1105 1106 int32_t rc; … … 1448 1449 for (i = u32Key; i < u32Count + u32Key; ++i) 1449 1450 { 1450 GLboolean fIsNew = crHashtableAllocRegisterKey(pHash, i); 1451 GLboolean fIsNew = crHashtableAllocRegisterKey(pHash, i); NOREF(fIsNew); 1451 1452 #if 0 //def DEBUG_misha 1452 1453 CRASSERT(fIsNew);
Note:
See TracChangeset
for help on using the changeset viewer.