summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/glwrapper.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2010-04-25 19:21:16 -0700
committerSteven Noonan <steven@uplinklabs.net>2010-04-25 19:21:16 -0700
commitc449924e250e22c376cb8cb8dce7b88e59adb7de (patch)
treea5c97ec394217dcadaf30e5c2f9d60054ee2ba5f /crawl-ref/source/glwrapper.h
parenta44aba7015cbf7e1b4827452d74ea82a944b15bb (diff)
downloadcrawl-ref-c449924e250e22c376cb8cb8dce7b88e59adb7de.tar.gz
crawl-ref-c449924e250e22c376cb8cb8dce7b88e59adb7de.zip
glwrapper.h: check for ASSERTS, instead of DEBUG for _valid()
In glwrapper.cc, we check for ASSERTS. This makes it consistent. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/glwrapper.h')
-rw-r--r--crawl-ref/source/glwrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/glwrapper.h b/crawl-ref/source/glwrapper.h
index e37ad6be02..ab362047e0 100644
--- a/crawl-ref/source/glwrapper.h
+++ b/crawl-ref/source/glwrapper.h
@@ -140,7 +140,7 @@ public:
unsigned int height, MipMapOptions mip_opt) = 0;
// Debug
-#ifdef DEBUG
+#ifdef ASSERTS
static bool _valid(int num_verts, drawing_modes mode);
#endif
};