applemedia: Fix video texture cache build issue on MacOS

https://bugzilla.gnome.org/show_bug.cgi?id=779247
This commit is contained in:
Nick Kallen 2017-03-04 12:12:52 +01:00 committed by Sebastian Dröge
parent e557e93f3b
commit 6e4354600d

View file

@ -44,8 +44,13 @@ typedef struct _ContextThreadData
typedef struct _TextureWrapper typedef struct _TextureWrapper
{ {
#if HAVE_IOS
CVOpenGLESTextureCacheRef *cache; CVOpenGLESTextureCacheRef *cache;
CVOpenGLESTextureRef texture; CVOpenGLESTextureRef texture;
#else
CVOpenGLTextureCacheRef *cache;
CVOpenGLTextureRef texture;
#endif
} TextureWrapper; } TextureWrapper;