Commit 27f184ef authored by Matt Oliver's avatar Matt Oliver Committed by Michael Niedermayer

Fix OpenGL device compilation with msvc gl.h

Reveiwed-by: 's avatarLukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 572f5eb1
...@@ -30,6 +30,9 @@ ...@@ -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 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment