[vlc-commits] commit: ios_vout: Build fix. (Pierre d'Herbemont )
git at videolan.org
git at videolan.org
Wed Nov 17 18:55:32 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Nov 17 18:53:21 2010 +0100| [74d18c465c5b27744aad6cc7eaf536671a77b18e] | committer: Pierre d'Herbemont
ios_vout: Build fix.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=74d18c465c5b27744aad6cc7eaf536671a77b18e
---
configure.ac | 1 +
modules/video_output/ios.m | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 33deefb..a352b8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3358,6 +3358,7 @@ AC_ARG_ENABLE(ios-vout,
if test "${enable_ios_vout}" = "yes"
then
VLC_ADD_PLUGIN([vout_ios])
+ VLC_ADD_CFLAGS([vout_ios], [-DUSE_OPENGL_ES=1])
VLC_ADD_LDFLAGS([vout_ios], [-Wl,-framework,OpenGLES,-framework,QuartzCore,-framework,UIKit,-framework,Foundation])
fi
diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index c90ac61..1a02a3d 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -27,6 +27,8 @@
#import <UIKit/UIKit.h>
#import <OpenGLES/ES1/gl.h>
+#import <OpenGLES/ES1/glext.h>
+#include <QuartzCore/QuartzCore.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -38,8 +40,8 @@
#include <vlc_vout_opengl.h>
#define USE_OPENGL_ES 1
+
#include "opengl.h"
-#include <QuartzCore/QuartzCore.h>
/**
* Forward declarations
More information about the vlc-commits
mailing list