]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.c
don't use GL_RGBA internalformat on opaque textures (thanks to Rock for
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index 1a2e3e25e902907fa11014f1dd210d531ef67837..8d505e8b3604ce2664d668054b553926a05150c6 100644 (file)
--- a/fs.c
+++ b/fs.c
                Boston, MA  02111-1307, USA
 */
 
-// we MUST include "quakedef.h" before anything that may include IO functions
-// to get _FILE_OFFSET_BITS
-#include "quakedef.h"
-
 #ifdef __APPLE__
 // include SDL for IPHONEOS code
 # include <TargetConditionals.h>
@@ -47,6 +43,8 @@
 # include <unistd.h>
 #endif
 
+#include "quakedef.h"
+
 #include "fs.h"
 #include "wad.h"