Stupid me. I don't know why I moved the GLView.h here at first, but now I know why
authorPhilippe Houdoin <phoudoin@freedesktop.org>
Mon, 16 Aug 2004 08:39:36 +0000 (08:39 +0000)
committerPhilippe Houdoin <phoudoin@freedesktop.org>
Mon, 16 Aug 2004 08:39:36 +0000 (08:39 +0000)
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.

include/GLView.h [moved from src/mesa/drivers/beos/GLView.h with 100% similarity]
src/mesa/drivers/beos/GLView.cpp

index 80af9bd..69f4cf9 100644 (file)
@@ -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