-rw-r--r-- | r/connect.R | 2 | ||||
-rw-r--r-- | src/GLee5_4/GLee.c | 18170 | ||||
-rw-r--r-- | src/GLee5_4/GLee.h | 17652 | ||||
-rw-r--r-- | src/GLee5_4/GLee.lib | bin | 0 -> 1460208 bytes | |||
-rw-r--r-- | src/GLee5_4/extensionList.txt | 410 | ||||
-rw-r--r-- | src/GLee5_4/readme.txt | 380 | ||||
-rw-r--r-- | src/controller/actions/clear_selection.sqc | 2 | ||||
-rw-r--r-- | src/controller/actions/process_hits.c | 1 | ||||
-rw-r--r-- | src/controller/actions/process_hits.h | 2 | ||||
-rw-r--r-- | src/controller/callbacks/mouse.c | 2 | ||||
-rw-r--r-- | src/util/check_error.c | 8 |
11 files changed, 36621 insertions, 8 deletions
diff --git a/src/util/check_error.c b/src/util/check_error.c index 7d116e9..35a4f6c 100644 --- a/src/util/check_error.c +++ b/src/util/check_error.c @@ -1,6 +1,4 @@ #include <GL/glut.h> -#include <error.h> -#include <errno.h> #include <stdlib.h> #include "check_error_db.h" @@ -14,9 +12,9 @@ check_error (const char *filename, const unsigned int linenum) GLenum errCode = glGetError (); if (errCode != GL_NO_ERROR) { - const GLubyte *errString = gluErrorString (errCode); - error_at_line (EXIT_FAILURE, errno, filename, linenum, - "OpenGL Error %s", errString); + const GLubyte *errString = gluErrorString (errCode); + printf ("%s:%u OpenGL Error %s", filename, linenum, errString); + exit (-1); } /* |