Stellarium  0.18.3
Functions | Variables
StelOpenGL Namespace Reference

Namespace containing some OpenGL helpers.

Functions

const char * getGLErrorText (GLenum code)
 Converts a GLenum from glGetError to a string.
 
int checkGLErrors (const char *file, int line)
 Retrieves and prints all current OpenGL errors to console (glGetError in a loop). Returns number of errors.
 
void clearGLErrors ()
 Clears all queued-up OpenGL errors without handling them.
 

Variables

QOpenGLContext * mainContext
 The main context as created by the StelMainView (only used for debugging)