mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
cogl: define GL_READ/DRAW_FRAMEBUFFER_EXT if not available
Bug 913 - cogl fails to build on OSX * clutter/cogl/gl/cogl-fbo.c: define GL_READ_FRAMEBUFFER_EXT and GL_DRAW_FRAMEBUFFER_EXT if not defined in the build system. The #ifdef can fail if they're not #defines but variables or enums. As the values are supposed to be industry standard even then it shouldn't have ill effects.
This commit is contained in:
parent
b8e8a80a40
commit
3d034ff6aa
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2008-06-05 Tommi Komulainen <tommi.komulainen@iki.fi>
|
||||
|
||||
Bug 913 - cogl fails to build on OSX
|
||||
|
||||
* clutter/cogl/gl/cogl-fbo.c: define GL_READ_FRAMEBUFFER_EXT and
|
||||
GL_DRAW_FRAMEBUFFER_EXT if not defined in the build system. The
|
||||
#ifdef can fail if they're not #defines but variables or enums.
|
||||
As the values are supposed to be industry standard even then
|
||||
it shouldn't have ill effects.
|
||||
|
||||
2008-06-05 Tommi Komulainen <tommi.komulainen@iki.fi>
|
||||
|
||||
Bug #911 - OSX: add multistage support
|
||||
|
@ -48,6 +48,13 @@
|
||||
#define glBlitFramebufferEXT ctx->pf_glBlitFramebufferEXT
|
||||
#define glRenderbufferStorageMultisampleEXT ctx->pf_glRenderbufferStorageMultisampleEXT
|
||||
|
||||
#ifndef GL_READ_FRAMEBUFFER_EXT
|
||||
#define GL_READ_FRAMEBUFFER_EXT 0x8CA8
|
||||
#endif
|
||||
#ifndef GL_DRAW_FRAMEBUFFER_EXT
|
||||
#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
|
||||
#endif
|
||||
|
||||
static void _cogl_offscreen_free (CoglFbo *fbo);
|
||||
|
||||
COGL_HANDLE_DEFINE (Fbo, offscreen, fbo_handles);
|
||||
|
Loading…
Reference in New Issue
Block a user