StelOpenGL.cpp   StelOpenGL.cpp 
skipping to change at line 22 skipping to change at line 22
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#include "StelOpenGL.hpp" #include "StelOpenGL.hpp"
#include <QDebug> #include <QDebug>
QOpenGLContext* StelOpenGL::mainContext = NULL; QOpenGLContext* StelOpenGL::mainContext = Q_NULLPTR;
const char* StelOpenGL::getGLErrorText(GLenum code) { const char* StelOpenGL::getGLErrorText(GLenum code) {
switch (code) { switch (code) {
case GL_INVALID_ENUM: case GL_INVALID_ENUM:
return "GL_INVALID_ENUM"; return "GL_INVALID_ENUM";
case GL_INVALID_FRAMEBUFFER_OPERATION: case GL_INVALID_FRAMEBUFFER_OPERATION:
return "GL_INVALID_FRAMEBUFFER_OPERATION"; return "GL_INVALID_FRAMEBUFFER_OPERATION";
case GL_INVALID_VALUE: case GL_INVALID_VALUE:
return "GL_INVALID_VALUE"; return "GL_INVALID_VALUE";
case GL_INVALID_OPERATION: case GL_INVALID_OPERATION:
 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/