mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 22:01:10 +00:00
vo_opengl: add some OpenGL standard symbols missing on OSX
Older OSX versions are missing some OpenGL 3 symbols, apparently. At least there's some precedent in the headers. Just add the symbols manually for now to fix OSX (on travis-ci) compilation.
This commit is contained in:
parent
10befa26d9
commit
5758a47902
@ -265,6 +265,13 @@
|
|||||||
#define GLvdpauSurfaceNV GLintptr
|
#define GLvdpauSurfaceNV GLintptr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// OSX
|
||||||
|
#ifndef GL_RED_INTEGER
|
||||||
|
#define GL_RED_INTEGER 0x8D94
|
||||||
|
#define GL_RGB_INTEGER 0x8D98
|
||||||
|
#define GL_RGBA_INTEGER 0x8D99
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef MP_GET_GL_WORKAROUNDS
|
#undef MP_GET_GL_WORKAROUNDS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user