From ac07d89fd37cb2b145c175b5557ef0475179c7f3 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Mon, 16 Aug 2004 08:39:36 +0000 Subject: [PATCH] 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. --- {src/mesa/drivers/beos => include}/GLView.h | 0 src/mesa/drivers/beos/GLView.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {src/mesa/drivers/beos => include}/GLView.h (100%) diff --git a/src/mesa/drivers/beos/GLView.h b/include/GLView.h similarity index 100% rename from src/mesa/drivers/beos/GLView.h rename to 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 -#include "GLView.h" +#include // BeOS component ordering for B_RGBA32 bitmap format #if B_HOST_IS_LENDIAN -- 2.30.2