summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Houdoin <[email protected]>2004-08-16 08:39:36 +0000
committerPhilippe Houdoin <[email protected]>2004-08-16 08:39:36 +0000
commitac07d89fd37cb2b145c175b5557ef0475179c7f3 (patch)
tree48b9da5c8ba19fd0b31d6ea999a03d5ae3cbb930
parentddff3525869850229a6a79ee2bd58b391c8bbfe6 (diff)
Stupid me. I don't know why I moved the GLView.h here at first, but now I know why
I shouldn't: Official BeOS GLView.h defines a virtual ErrorCallback(GLenum) method, assuming a unsigned long GLenum. But under Mesa, GLenum is unsigned int. To keep binary compatibility, BeOS apps including Mesa GL/gl.h MUST include *our* GLView.h, or linker will report a missing ErrorCallback(unsigned int) symbol. Glup.
-rw-r--r--include/GLView.h (renamed from src/mesa/drivers/beos/GLView.h)0
-rw-r--r--src/mesa/drivers/beos/GLView.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/beos/GLView.h b/include/GLView.h
index 8d9d25bb1cb..8d9d25bb1cb 100644
--- a/src/mesa/drivers/beos/GLView.h
+++ b/include/GLView.h
diff --git a/src/mesa/drivers/beos/GLView.cpp b/src/mesa/drivers/beos/GLView.cpp
index 80af9bd4168..69f4cf90747 100644
--- a/src/mesa/drivers/beos/GLView.cpp
+++ b/src/mesa/drivers/beos/GLView.cpp
@@ -59,7 +59,7 @@ extern "C" {
} // extern "C"
#include <interface/Screen.h>
-#include "GLView.h"
+#include <GLView.h>
// BeOS component ordering for B_RGBA32 bitmap format
#if B_HOST_IS_LENDIAN