summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--r/connect.R2
-rw-r--r--src/GLee5_4/GLee.c18170
-rw-r--r--src/GLee5_4/GLee.h17652
-rw-r--r--src/GLee5_4/GLee.libbin0 -> 1460208 bytes
-rw-r--r--src/GLee5_4/extensionList.txt410
-rw-r--r--src/GLee5_4/readme.txt380
-rw-r--r--src/controller/actions/clear_selection.sqc2
-rw-r--r--src/controller/actions/process_hits.c1
-rw-r--r--src/controller/actions/process_hits.h2
-rw-r--r--src/controller/callbacks/mouse.c2
-rw-r--r--src/util/check_error.c8
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);
}
/*

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.