mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Added workaround for 10.9 SDK type definitions.
This commit is contained in:
parent
cc7f0bd532
commit
e7c7ebf665
|
@ -56,6 +56,8 @@ guide in the GLFW documentation.
|
||||||
- [Cocoa] Bugfix: A superfluous I/O flag test prevented video modes from being
|
- [Cocoa] Bugfix: A superfluous I/O flag test prevented video modes from being
|
||||||
listed for Thunderbolt monitor
|
listed for Thunderbolt monitor
|
||||||
- [Cocoa] Bugfix: Retrieving the name of some external displays caused segfault
|
- [Cocoa] Bugfix: Retrieving the name of some external displays caused segfault
|
||||||
|
- [Cocoa] Bugfix: The 10.9 SDK defines `GLintptrARB` and `GLsizeiptrARB`
|
||||||
|
differently from the Khronos `glext.h`
|
||||||
- [X11] Added setting of the `WM_CLASS` property to the initial window title
|
- [X11] Added setting of the `WM_CLASS` property to the initial window title
|
||||||
- [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
- [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
||||||
- [X11] Bugfix: The position of hidden windows was ignored by Metacity
|
- [X11] Bugfix: The position of hidden windows was ignored by Metacity
|
||||||
|
|
5
deps/GL/glext.h
vendored
5
deps/GL/glext.h
vendored
|
@ -4130,8 +4130,13 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count);
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
#define GL_ARB_vertex_buffer_object 1
|
#define GL_ARB_vertex_buffer_object 1
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
typedef long GLsizeiptrARB;
|
||||||
|
typedef long GLintptrARB;
|
||||||
|
#else
|
||||||
typedef ptrdiff_t GLsizeiptrARB;
|
typedef ptrdiff_t GLsizeiptrARB;
|
||||||
typedef ptrdiff_t GLintptrARB;
|
typedef ptrdiff_t GLintptrARB;
|
||||||
|
#endif
|
||||||
#define GL_BUFFER_SIZE_ARB 0x8764
|
#define GL_BUFFER_SIZE_ARB 0x8764
|
||||||
#define GL_BUFFER_USAGE_ARB 0x8765
|
#define GL_BUFFER_USAGE_ARB 0x8765
|
||||||
#define GL_ARRAY_BUFFER_ARB 0x8892
|
#define GL_ARRAY_BUFFER_ARB 0x8892
|
||||||
|
|
Loading…
Reference in New Issue
Block a user