Skip to content
Snippets Groups Projects
Commit 33bb2aec authored by Steve Lhomme's avatar Steve Lhomme
Browse files

opengl: fix warning on non-Apple builds

TARGET_OS_IPHONE is not defined in most cases.
parent 44acd81b
No related branches found
No related tags found
Loading
Pipeline #396919 passed with stage
in 13 minutes and 43 seconds
......@@ -190,7 +190,7 @@ static void PlacePicture(vout_display_t *vd, vout_display_place_t *place,
static int Open(vout_display_t *vd,
video_format_t *fmt, vlc_video_context *context)
{
#if TARGET_OS_IPHONE
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
if (fmt->i_chroma == VLC_CODEC_CVPX_P010)
return VLC_EGENERIC;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment