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.
This commit is contained in:
Philippe Houdoin 2004-08-16 08:39:36 +00:00
parent ddff352586
commit ac07d89fd3
2 changed files with 1 additions and 1 deletions

View 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