summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/glwrapper.cc
diff options
context:
space:
mode:
authorIxtli <cg@325i.org>2010-03-07 14:22:59 +0900
committerEnne Walker <ennewalker@users.sourceforge.net>2010-04-24 10:19:41 -0400
commitc3202e35e305cd092245a33db223568156b43f34 (patch)
tree81b6073c53f0e3ae65ced3cf6d266452fec12aeb /crawl-ref/source/glwrapper.cc
parent2792e3b367272b82d54b1c59e75c6fc4f8b7b0fe (diff)
downloadcrawl-ref-c3202e35e305cd092245a33db223568156b43f34.tar.gz
crawl-ref-c3202e35e305cd092245a33db223568156b43f34.zip
Fixed include order and ifdefs
Diffstat (limited to 'crawl-ref/source/glwrapper.cc')
-rw-r--r--crawl-ref/source/glwrapper.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/glwrapper.cc b/crawl-ref/source/glwrapper.cc
index d7c0be5729..98677d24fb 100644
--- a/crawl-ref/source/glwrapper.cc
+++ b/crawl-ref/source/glwrapper.cc
@@ -1,13 +1,12 @@
+#include "AppHdr.h"
+
#include "debug.h"
#include "glwrapper.h"
-#include "AppHdr.h"
#ifdef USE_TILE
-
#ifdef USE_SDL
#include <SDL_opengl.h>
-#endif
/////////////////////////////////////////////////////////////////////////////
// GLPrimitive
@@ -292,4 +291,5 @@ bool GLStateManager::_valid(int num_verts, drawing_modes mode)
/////////////////////////////////////////////////////////////////////////////
// Static Methods
-#endif
+#endif // USE_SDL
+#endif // USE_TILE