Missing a not, of course

This commit is contained in:
Bart van Strien
2011-07-02 18:20:43 +02:00
parent 60128e1b06
commit fd5ca8e2c3
+1 -1
View File
@@ -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);