Fix OpenGL device compilation with msvc gl.h
Reveiwed-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
572f5eb1af
commit
27f184ef40
@ -30,6 +30,9 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#if HAVE_WINDOWS_H
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
#if HAVE_OPENGL_GL3_H
|
#if HAVE_OPENGL_GL3_H
|
||||||
#include <OpenGL/gl3.h>
|
#include <OpenGL/gl3.h>
|
||||||
#elif HAVE_ES2_GL_H
|
#elif HAVE_ES2_GL_H
|
||||||
@ -41,9 +44,6 @@
|
|||||||
#if HAVE_GLXGETPROCADDRESS
|
#if HAVE_GLXGETPROCADDRESS
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_WINDOWS_H
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAVE_SDL
|
#if HAVE_SDL
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
Reference in New Issue
Block a user