mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
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
This commit is contained in:
parent
f5e884314e
commit
d1f9cb230c
1 changed files with 2 additions and 0 deletions
|
@ -337,6 +337,8 @@ extern HGLRC (WINAPI * bwglCreateContextAttribsARB)(HDC hDC, HGLRC hShareContext
|
||||||
void texdbg_bglGenTextures(GLsizei n, GLuint *textures, const char *srcfn);
|
void texdbg_bglGenTextures(GLsizei n, GLuint *textures, const char *srcfn);
|
||||||
void texdbg_bglDeleteTextures(GLsizei n, const 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
|
# if defined DEBUGGINGAIDS && defined DEBUG_TEXTURE_NAMES
|
||||||
# define bglGenTextures(numtexs, texnamear) texdbg_bglGenTextures(numtexs, texnamear, __FILE__)
|
# define bglGenTextures(numtexs, texnamear) texdbg_bglGenTextures(numtexs, texnamear, __FILE__)
|
||||||
# define bglDeleteTextures(numtexs, texnamear) texdbg_bglDeleteTextures(numtexs, texnamear, __FILE__)
|
# define bglDeleteTextures(numtexs, texnamear) texdbg_bglDeleteTextures(numtexs, texnamear, __FILE__)
|
||||||
|
|
Loading…
Reference in a new issue