mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-01 15:50:07 +00:00
22 lines
426 B
C
22 lines
426 B
C
#ifndef OSD_LOCAL_H
|
|
#define OSD_LOCAL_H
|
|
|
|
#include <stdio.h>
|
|
|
|
#define OSD_STRINGIFY(src) OSD_XSTRINGIFY(src)
|
|
#define OSD_XSTRINGIFY(src) #src
|
|
|
|
#define CHECK_GL_ERROR(...) \
|
|
if(GLuint err = glGetError()) { \
|
|
printf("GL error %x :", err); \
|
|
printf(__VA_ARGS__); \
|
|
}
|
|
|
|
#define OSD_ERROR(...) printf(__VA_ARGS__);
|
|
|
|
//#define OSD_DEBUG(...) printf(__VA_ARGS__);
|
|
#define OSD_DEBUG(...)
|
|
|
|
|
|
#endif // OSD_LOCAL_H
|