1
0
forked from 0ad/0ad

Define GLX_MESA_query_renderer functions unconditionally. Fixes #2325.

This was SVN commit r14432.
This commit is contained in:
leper 2013-12-29 17:13:55 +00:00
parent 517e83b331
commit 3746690f82

View File

@ -398,10 +398,8 @@ FUNC(int, wglChoosePixelFormatARB, (HDC, const int *, const float*, unsigned int
#endif // OS_WIN
#if OS_LINUX
// GLX_MESA_query_renderer
FUNC(int /*Bool*/, glXQueryRendererIntegerMESA, (void /*Display*/ *dpy, int screen, int renderer, int attribute, unsigned int *value))
FUNC(int /*Bool*/, glXQueryCurrentRendererIntegerMESA, (int attribute, unsigned int *value))
FUNC(const char *, glXQueryRendererStringMESA, (void /*Display*/ *dpy, int screen, int renderer, int attribute))
FUNC(const char *, glXQueryCurrentRendererStringMESA, (int attribute))
#endif // OS_LINUX