summaryrefslogtreecommitdiff
path: root/src/glut/beos/glut_util.cpp
diff options
context:
space:
mode:
authorPhilippe Houdoin <phoudoin@freedesktop.org>2004-08-14 10:37:03 +0000
committerPhilippe Houdoin <phoudoin@freedesktop.org>2004-08-14 10:37:03 +0000
commitbba512b75bdc3bc27cecb17b7664030c66652996 (patch)
tree7960a495be8c53126a9e7432b970fe3b2fc63451 /src/glut/beos/glut_util.cpp
parenta041e62418a72f0fd379e50263e1c9d2e6c6bb55 (diff)
Replaced the .cpp-ized (for build issue) common GLUT source files by their
standard .c version. Remove outdated Makefile.orig.
Diffstat (limited to 'src/glut/beos/glut_util.cpp')
-rw-r--r--src/glut/beos/glut_util.cpp66
1 files changed, 0 insertions, 66 deletions
diff --git a/src/glut/beos/glut_util.cpp b/src/glut/beos/glut_util.cpp
deleted file mode 100644
index 97e3115832..0000000000
--- a/src/glut/beos/glut_util.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-
-/* Copyright (c) Mark J. Kilgard, 1994. */
-
-/* This program is freely distributable without licensing fees
- and is provided without guarantee or warrantee expressed or
- implied. This program is -not- in the public domain. */
-
-#include <stdlib.h>
-#include <stdarg.h>
-#include <stdio.h>
-
-#include <GL/glut.h>
-#include "glutint.h"
-#include "glutState.h"
-
-void
-__glutWarning(char *format,...)
-{
- va_list args;
-
- va_start(args, format);
- fprintf(stderr, "GLUT: Warning in %s: ",
- gState.programName ? gState.programName : "(unamed)");
- vfprintf(stderr, format, args);
- va_end(args);
- putc('\n', stderr);
-}
-
-/* CENTRY */
-void APIENTRY
-glutReportErrors(void)
-{
- GLenum error;
-
- while ((error = glGetError()) != GL_NO_ERROR)
- __glutWarning("GL error: %s", gluErrorString(error));
-}
-/* ENDCENTRY */
-
-void
-__glutFatalError(char *format,...)
-{
- va_list args;
-
- va_start(args, format);
- fprintf(stderr, "GLUT: Fatal Error in %s: ",
- gState.programName ? gState.programName : "(unamed)");
- vfprintf(stderr, format, args);
- va_end(args);
- putc('\n', stderr);
- exit(1);
-}
-
-void
-__glutFatalUsage(char *format,...)
-{
- va_list args;
-
- va_start(args, format);
- fprintf(stderr, "GLUT: Fatal API Usage in %s: ",
- gState.programName ? gState.programName : "(unamed)");
- vfprintf(stderr, format, args);
- va_end(args);
- putc('\n', stderr);
- abort();
-}