StelOpenGL.hpp   StelOpenGL.hpp 
skipping to change at line 45 skipping to change at line 45
#endif #endif
//! Namespace containing some OpenGL helpers //! Namespace containing some OpenGL helpers
namespace StelOpenGL namespace StelOpenGL
{ {
//! The main context as created by the StelMainView (only used for d ebugging) //! The main context as created by the StelMainView (only used for d ebugging)
extern QOpenGLContext* mainContext; extern QOpenGLContext* mainContext;
//! Converts a GLenum from glGetError to a string //! Converts a GLenum from glGetError to a string
const char* getGLErrorText(GLenum code); const char* getGLErrorText(GLenum code);
//! Retrieves and prints all current OpenGL errors to console (glGet Error in a loop) //! Retrieves and prints all current OpenGL errors to console (glGet Error in a loop). Returns number of errors.
int checkGLErrors(const char *file, int line); int checkGLErrors(const char *file, int line);
//! Clears all queued-up OpenGL errors without handling them //! Clears all queued-up OpenGL errors without handling them
void clearGLErrors(); void clearGLErrors();
} }
// This is still needed for the ARM platform (armhf) // This is still needed for the ARM platform (armhf)
#if defined(QT_OPENGL_ES_2) #if defined(QT_OPENGL_ES_2)
#ifndef GL_DOUBLE #ifndef GL_DOUBLE
#define GL_DOUBLE GL_FLOAT #define GL_DOUBLE GL_FLOAT
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/