Browse Source

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.
tags/R300_DRIVER_0
Philippe Houdoin 21 years ago
parent
commit
ac07d89fd3
2 changed files with 1 additions and 1 deletions
  1. 0
    0
      include/GLView.h
  2. 1
    1
      src/mesa/drivers/beos/GLView.cpp

src/mesa/drivers/beos/GLView.h → include/GLView.h View File


+ 1
- 1
src/mesa/drivers/beos/GLView.cpp 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

Loading…
Cancel
Save