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:
reimar 2006-02-23 10:18:10 +00:00
parent 2e51fd4440
commit d18baca45c
1 changed files with 9 additions and 0 deletions

View File

@ -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
*