Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2014-04-15 09:22:50 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-16 20:05:40 +0400
commit27f184ef40e8da09d9dfc8f71a8d1893729381f6 (patch)
treefad3aed7d12bd321de5dae13808c98c1ad257ddd /libavdevice/opengl_enc.c
parent572f5eb1afc6a6cfafcbe4da42120ae4e42a6af1 (diff)
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>
Diffstat (limited to 'libavdevice/opengl_enc.c')
-rw-r--r--libavdevice/opengl_enc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
index 6be03981dd..4e25f199f1 100644
--- a/libavdevice/opengl_enc.c
+++ b/libavdevice/opengl_enc.c
@@ -30,6 +30,9 @@
#include "config.h"
+#if HAVE_WINDOWS_H
+#include <windows.h>
+#endif
#if HAVE_OPENGL_GL3_H
#include <OpenGL/gl3.h>
#elif HAVE_ES2_GL_H
@@ -41,9 +44,6 @@
#if HAVE_GLXGETPROCADDRESS
#include <GL/glx.h>
#endif
-#if HAVE_WINDOWS_H
-#include <windows.h>
-#endif
#if HAVE_SDL
#include <SDL.h>