Blame view

tira/gl/rts_glUtilities.h 279 Bytes
ce6381d7   David Mayerich   updating to TIRA
1
2
3
4
5
6
7
8
9
10
11
12
  #ifndef RTS_GLUTILITIES_H
  #define RTS_GLUTILITIES_H
  
  
  #define CHECK_OPENGL_ERROR \
  { GLenum error; \
     while ( (error = glGetError()) != GL_NO_ERROR) { \
     printf( "OpenGL ERROR: %s\nCHECK POINT: %s (line %d)\n", gluErrorString(error), __FILE__, __LINE__ ); \
     } \
  } 
  
  #endif