Bart van Strien пре 14 година
родитељ
комит
fd5ca8e2c3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/modules/graphics/opengl/Quad.cpp

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

@@ -46,7 +46,7 @@ namespace opengl
 
 	void Quad::refresh(const Viewport & v, int sw, int sh)
 	{
-		if (GLEE_ARB_texture_non_power_of_two)
+		if (!GLEE_ARB_texture_non_power_of_two)
 		{
 			sw = next_p2(sw);
 			sh = next_p2(sh);