-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 @@ | |||
1 | #include <GL/glut.h> | 1 | #include <GL/glut.h> |
2 | #include <error.h> | ||
3 | #include <errno.h> | ||
4 | #include <stdlib.h> | 2 | #include <stdlib.h> |
5 | #include "check_error_db.h" | 3 | #include "check_error_db.h" |
6 | 4 | ||
@@ -14,9 +12,9 @@ check_error (const char *filename, const unsigned int linenum) | |||
14 | GLenum errCode = glGetError (); | 12 | GLenum errCode = glGetError (); |
15 | if (errCode != GL_NO_ERROR) | 13 | if (errCode != GL_NO_ERROR) |
16 | { | 14 | { |
17 | const GLubyte *errString = gluErrorString (errCode); | 15 | const GLubyte *errString = gluErrorString (errCode); |
18 | error_at_line (EXIT_FAILURE, errno, filename, linenum, | 16 | printf ("%s:%u OpenGL Error %s", filename, linenum, errString); |
19 | "OpenGL Error %s", errString); | 17 | exit (-1); |
20 | } | 18 | } |
21 | 19 | ||
22 | /* | 20 | /* |