mirror of https://github.com/mpv-player/mpv
workaround for gl.h variants that do not define APIENTRY
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17669 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2e51fd4440
commit
d18baca45c
|
@ -17,6 +17,15 @@
|
|||
#include "x11_common.h"
|
||||
#endif
|
||||
|
||||
// workaround for some gl.h headers
|
||||
#ifndef APIENTRY
|
||||
#ifdef GLAPIENTRY
|
||||
#define APIENTRY GLAPIENTRY
|
||||
#else
|
||||
#define APIENTRY
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup glextdefines OpenGL extension defines
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue