Browse Source

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>
tags/n2.3
Matt Oliver Michael Niedermayer 11 years ago
parent
commit
27f184ef40
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavdevice/opengl_enc.c

+ 3
- 3
libavdevice/opengl_enc.c View File

@@ -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>


Loading…
Cancel
Save