Changeset 28861 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker
- Timestamp:
- Apr 28, 2010 11:27:18 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60789
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_glsl.c
r28800 r28861 28 28 CRContext *g = GetCurrentContext(); 29 29 30 if (!g) 31 { 32 crWarning("crStateGetShaderObj called without current ctx"); 33 } 34 30 35 return !g ? NULL : (CRGLSLShader *) crHashtableSearch(g->glsl.shaders, id); 31 36 } … … 34 39 { 35 40 CRContext *g = GetCurrentContext(); 41 42 if (!g) 43 { 44 crWarning("crStateGetProgramObj called without current ctx"); 45 } 36 46 37 47 return !g ? NULL : (CRGLSLProgram *) crHashtableSearch(g->glsl.programs, id);
Note:
See TracChangeset
for help on using the changeset viewer.