From d1f9cb230cc5bd109d028dfd59878047738c5e1e Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 1 Jun 2012 20:09:15 +0000 Subject: [PATCH] Throw a commented #define DEBUG_TEXTURE_NAMES into glbuild.h. This is so that people know where to enable it. One day, all these debugging switches ought to go into the Makefiles in one form or another. git-svn-id: https://svn.eduke32.com/eduke32@2714 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/glbuild.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/build/include/glbuild.h b/polymer/eduke32/build/include/glbuild.h index 2f3817406..3b6662d0f 100644 --- a/polymer/eduke32/build/include/glbuild.h +++ b/polymer/eduke32/build/include/glbuild.h @@ -337,6 +337,8 @@ extern HGLRC (WINAPI * bwglCreateContextAttribsARB)(HDC hDC, HGLRC hShareContext void texdbg_bglGenTextures(GLsizei n, GLuint *textures, const char *srcfn); void texdbg_bglDeleteTextures(GLsizei n, const GLuint *textures, const char *srcfn); +//#define DEBUG_TEXTURE_NAMES + # if defined DEBUGGINGAIDS && defined DEBUG_TEXTURE_NAMES # define bglGenTextures(numtexs, texnamear) texdbg_bglGenTextures(numtexs, texnamear, __FILE__) # define bglDeleteTextures(numtexs, texnamear) texdbg_bglDeleteTextures(numtexs, texnamear, __FILE__)