gl: Only enabled cocoa backend on osx (and not ios)

ios requires using EAGL
This commit is contained in:
Edward Hervey 2014-03-26 10:14:36 +01:00
parent 6b784cf808
commit e26e3371a5

View file

@ -954,7 +954,8 @@ case $host in
fi
fi
;;
*-darwin*)
i386-darwin* | x86_64-darwin*)
dnl Only osx supports cocoa. ios requires EAGL.
if test "x$NEED_WGL" = "xyes"; then
AC_MSG_ERROR([WGL is not available on Mac OS X])
fi