瀏覽代碼

Missing a not, of course

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)
 	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);
 			sw = next_p2(sw);
 			sh = next_p2(sh);
 			sh = next_p2(sh);