Stellarium 0.15.2
|
Namespace containing some OpenGL helpers. More...
Functions | |
const char * | getGLErrorText (GLenum code) |
Converts a GLenum from glGetError to a string. More... | |
int | checkGLErrors (const char *file, int line) |
Retrieves and prints all current OpenGL errors to console (glGetError in a loop) More... | |
void | clearGLErrors () |
Clears all queued-up OpenGL errors without handling them. More... | |
Variables | |
QOpenGLContext * | mainContext |
The main context as created by the StelMainView (only used for debugging) More... | |
Namespace containing some OpenGL helpers.
int StelOpenGL::checkGLErrors | ( | const char * | file, |
int | line | ||
) |
Retrieves and prints all current OpenGL errors to console (glGetError in a loop)
void StelOpenGL::clearGLErrors | ( | ) |
Clears all queued-up OpenGL errors without handling them.
const char* StelOpenGL::getGLErrorText | ( | GLenum | code | ) |
Converts a GLenum from glGetError to a string.
QOpenGLContext* StelOpenGL::mainContext |
The main context as created by the StelMainView (only used for debugging)