mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
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:
parent
ddff352586
commit
ac07d89fd3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user