Changeset 5364 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Oct 11, 2005, 11:48:19 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/shader.cc
r5335 r5364 227 227 void Shader::deactivateShader() 228 228 { 229 glUseProgramObjectARB(0); 230 Shader::storedShader = NULL; 229 if (storedShader != NULL) 230 glUseProgramObjectARB(0); 231 Shader::storedShader = NULL; 231 232 } 232 233
Note: See TracChangeset
for help on using the changeset viewer.