12 lines
187 B
C
12 lines
187 B
C
|
|
#ifndef CHECKGLERROR_H
|
|
#define CHECKGLERROR_H
|
|
|
|
#include <GL/gl.h>
|
|
|
|
#define checkGLError() _checkGLError(__FILE__, __LINE__)
|
|
|
|
GLenum _checkGLError(const char *fname, int lineno);
|
|
|
|
#endif
|