mirror of https://github.com/xemu-project/xemu.git
carbon-copy from NV2A_GL_DPRINTF when gl debugging not enabled
This commit is contained in:
parent
c7b3f646da
commit
af6b40e666
|
@ -49,7 +49,9 @@ void gl_debug_label(GLenum target, GLuint name, const char *fmt, ...);
|
|||
gl_debug_label(target, name, "nv2a: { " format " }", ## __VA_ARGS__)
|
||||
|
||||
#else
|
||||
# define NV2A_GL_DPRINTF(cc, format, ...) do { } while (0)
|
||||
# define NV2A_GL_DPRINTF(cc, format, ...) do { \
|
||||
if (cc) NV2A_DPRINTF(format "\n", ##__VA_ARGS__ ); \
|
||||
} while (0)
|
||||
# define NV2A_GL_DGROUP_BEGIN(format, ...) do { } while (0)
|
||||
# define NV2A_GL_DGROUP_END() do { } while (0)
|
||||
# define NV2A_GL_DLABEL(target, name, format, ...) do { } while (0)
|
||||
|
|
Loading…
Reference in New Issue