Changeset 23437 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Sep 30, 2009 12:33:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_glsl.c
r23433 r23437 274 274 CRContext *g = GetCurrentContext(); 275 275 276 CRASSERT(!crStateGetProgramObj(id)); 276 pProgram = crStateGetProgramObj(id); 277 if (!pProgram) 278 { 279 crWarning("Program object %d already exists!", id); 280 crStateDeleteProgram(id); 281 CRASSERT(!crStateGetProgramObj(id)); 282 } 277 283 278 284 pProgram = (CRGLSLProgram *) crAlloc(sizeof(*pProgram));
Note:
See TracChangeset
for help on using the changeset viewer.