No more out of memory errors on VC3

This commit is contained in:
Shinovon 2026-05-07 02:48:00 +05:00
parent 689c76b4c5
commit 30fff6bbab
5 changed files with 76 additions and 36 deletions

View file

@ -18,6 +18,20 @@
#endif
#endif
#if 0
extern void re3_debug(const char *format, ...);
extern void re3_trace(const char *filename, unsigned int lineno, const char *func, const char *format, ...);
#define CHECK_GL_ERROR(trace) do { \
int glerror = glGetError(); \
if (glerror != 0) { \
re3_trace(__FILE__, __LINE__, __FUNCTION__, "GL Error %x on %s", glerror, trace); \
} \
} while(0);
#else
#define CHECK_GL_ERROR(a)
#endif
namespace rw {
#ifdef RW_GL3