summaryrefslogtreecommitdiffstats
Unidiff
-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 @@
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"
64
@@ -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 }
2119
22 /*20 /*

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.