diff options
author | Philippe Houdoin <phoudoin@freedesktop.org> | 2004-08-16 08:39:36 +0000 |
---|---|---|
committer | Philippe Houdoin <phoudoin@freedesktop.org> | 2004-08-16 08:39:36 +0000 |
commit | ac07d89fd37cb2b145c175b5557ef0475179c7f3 (patch) | |
tree | 48b9da5c8ba19fd0b31d6ea999a03d5ae3cbb930 /src/mesa/drivers/beos/GLView.cpp | |
parent | ddff3525869850229a6a79ee2bd58b391c8bbfe6 (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.
Diffstat (limited to 'src/mesa/drivers/beos/GLView.cpp')
-rw-r--r-- | src/mesa/drivers/beos/GLView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/beos/GLView.cpp b/src/mesa/drivers/beos/GLView.cpp index 80af9bd416..69f4cf9074 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 |