mirror of https://github.com/mpv-player/mpv
Avoid duplicating the GL/gl.h include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31107 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ce4d38385c
commit
9d3c096045
|
@ -30,18 +30,14 @@
|
||||||
|
|
||||||
#ifdef CONFIG_GL_WIN32
|
#ifdef CONFIG_GL_WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <GL/gl.h>
|
|
||||||
#include "w32_common.h"
|
#include "w32_common.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_GL_X11
|
#ifdef CONFIG_GL_X11
|
||||||
#include <GL/gl.h>
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
#include "x11_common.h"
|
#include "x11_common.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_GL_SDL
|
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
// workaround for some gl.h headers
|
// workaround for some gl.h headers
|
||||||
#ifndef GLAPIENTRY
|
#ifndef GLAPIENTRY
|
||||||
|
|
Loading…
Reference in New Issue