aboutsummaryrefslogtreecommitdiffstats
path: root/progs/util/errcheck.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-05-21 09:32:38 -0700
committerEric Anholt <[email protected]>2010-05-21 12:20:39 -0700
commit68fc4b415e322f6744299e39864fbc377c6eff74 (patch)
tree4bafffd8b0105174f3c5c0ae327a005be9145990 /progs/util/errcheck.c
parente4f4489e3fc0b36d72821b55794fb843b2b7fa5f (diff)
Remove demos that have moved to git+ssh://git.freedesktop.org/git/mesa/demos.
The remaining programs are ones I've had difficulty finding a build environment for to make the build system or are unit tests that should probably live next to their code instead. Hopefully people can bring over the build for remaining pieces they care about.
Diffstat (limited to 'progs/util/errcheck.c')
-rw-r--r--progs/util/errcheck.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/progs/util/errcheck.c b/progs/util/errcheck.c
deleted file mode 100644
index fe9c2973c33..00000000000
--- a/progs/util/errcheck.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* errcheck.c */
-
-
-/*
- * Call this function in your rendering loop to check for GL errors
- * during development. Remove from release code.
- *
- * Written by Brian Paul and in the public domain.
- */
-
-
-#include <GL/gl.h>
-#include <GL/glu.h>
-#incldue <stdio.h>
-
-
-
-GLboolean CheckError( const char *message )
-{
- GLenum error = glGetError();
- if (error) {
- char *err = (char *) gluErrorString( error );
- fprintf( stderr, "GL Error: %s at %s\n", err, message );
- return GL_TRUE;
- }
- return GL_FALSE;
-}