Changeset 41928 in vbox for trunk/src/VBox/GuestHost/OpenGL
- Timestamp:
- Jun 27, 2012 4:06:23 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78793
- Location:
- trunk/src/VBox/GuestHost/OpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_error.h
r40267 r41928 41 41 # define CR_DDI_PROLOGUE() do { /*if (g_VBoxFbgFBreakDdi) {Assert(0);}*/ } while (0) 42 42 # else 43 # define CRASSERT( PRED ) ((PRED)?(void)0:cr Error( "Assertion failed: %s, file %s, line %d", #PRED, __FILE__, __LINE__))43 # define CRASSERT( PRED ) ((PRED)?(void)0:crWarning( "Assertion failed: %s, file %s, line %d", #PRED, __FILE__, __LINE__)) 44 44 # define CR_DDI_PROLOGUE() do {} while (0) 45 45 # endif -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_glsl.c
r39602 r41928 206 206 { 207 207 CRGLSLProgram *pProgram = crStateGetProgramObj(id); 208 CRASSERT(!pProgram || pProgram->hwid == id); 208 209 return pProgram ? pProgram->hwid : 0; 209 210 }
Note:
See TracChangeset
for help on using the changeset viewer.