mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-28 22:31:07 +00:00
22 lines
421 B
C
22 lines
421 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
|