Browse Source

Some idiot put a != where there should be a ==.

vrld 13 years ago
parent
commit
1dd40b690b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/opengl/VertexBuffer.cpp

+ 1 - 1
src/modules/graphics/opengl/VertexBuffer.cpp

@@ -205,7 +205,7 @@ namespace opengl
 		delete[] buffer_copy;
 		buffer_copy = 0;
 
-		return (GL_NO_ERROR != err);
+		return (GL_NO_ERROR == err);
 	}
 
 	void VBO::unload(bool save)