Set gl_CurChunk in release as well as development builds.

* Yes I know - shocking, but release builds also need to know which function was
  called!
This commit is contained in:
baldurk
2018-07-13 15:43:46 +01:00
parent 7b8380cba7
commit 2bb263102b
+3 -1
View File
@@ -92,7 +92,9 @@ int ScopedPrinter::depth = 0;
#else
#define SCOPED_GLCALL(funcname) SCOPED_LOCK(glLock);
#define SCOPED_GLCALL(funcname) \
SCOPED_LOCK(glLock); \
gl_CurChunk = GLChunk::funcname;
#endif