- 時間撮記:
- 2017-5-8 下午04:53:52 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器