DEADSOFTWARE

gl: detect NPOT support
[d2df-editor.git] / src / engine / e_textures.pas
index 6055678f343d8e55dafc2c24ff518c666d21863b..e484acba06ca96058e457a3edf6cbd716614604d 100644 (file)
@@ -2,8 +2,7 @@
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation, version 3 of the License ONLY.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -37,7 +36,7 @@ type
 
 var
   e_DummyTextures: Boolean = False;
-  e_glLegacyNPOT: Boolean = False;
+  e_glLegacyNPOT: Boolean = True;
   TEXTUREFILTER: Integer = GL_NEAREST;
 
 function CreateTexture (var tex: GLTexture; Width, Height, aFormat: Word; pData: Pointer): Boolean;