- added check for 'region' symbol
[supertux.git] / src / video / glutil.hpp
index 0ccb630..90dd525 100644 (file)
@@ -56,13 +56,15 @@ static inline void check_gl_error(const char* message)
       case GL_TABLE_TOO_LARGE:
         msg << "TABLE_TOO_LARGE: table is too large";
         break;
-#endif                        
+#endif
       default:
         msg << "Unknown error (code " << error << ")";
     }
-        
+
     throw std::runtime_error(msg.str());
   }
+#else
+  (void) message;
 #endif
 }