mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 00:19:00 +02:00
- round 2 of cppcheck code cleanup
This commit is contained in:
@@ -167,10 +167,10 @@ int getGlProjectionMatrixStackDepth() {
|
||||
return i;
|
||||
}
|
||||
|
||||
void checkGlExtension(const char *extensionName) {
|
||||
if(!isGlExtensionSupported(extensionName)){
|
||||
throw megaglest_runtime_error("OpenGL extension not supported: " + string(extensionName));
|
||||
}
|
||||
}
|
||||
//void checkGlExtension(const char *extensionName) {
|
||||
// if(!isGlExtensionSupported(extensionName)){
|
||||
// throw megaglest_runtime_error("OpenGL extension not supported: " + string(extensionName));
|
||||
// }
|
||||
//}
|
||||
|
||||
}}}// end namespace
|
||||
|
Reference in New Issue
Block a user