Changeset 66827 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- May 8, 2017 4:53:52 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 115274
- Location:
- trunk/src/VBox/GuestHost/OpenGL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_net.h
r63199 r66827 10 10 #ifdef WINDOWS 11 11 #define WIN32_LEAN_AND_MEAN 12 # ifndef VBOX 12 13 #pragma warning( push, 3 ) /* shut up about warnings in YOUR OWN HEADER FILES!!! */ 13 14 #include <winsock.h> 15 # else 16 # include <iprt/win/winsock.h> 17 # endif /* VBOX */ 14 18 #endif 15 19 -
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); -
trunk/src/VBox/GuestHost/OpenGL/util/pixel.c
r64763 r66827 16 16 #if defined(WINDOWS) 17 17 # include <float.h> 18 # undef isnan /* _MSC_VER 12.0+ defines this is a complicated macro */ 18 19 # define isnan(x) _isnan(x) 19 20 #endif
Note:
See TracChangeset
for help on using the changeset viewer.