Don't check for FBO when compiling GLES2.

Adds FBO support to ARM/Linux which used quickbuild.
This commit is contained in:
Themaister 2013-05-18 14:29:42 +01:00
parent 1325794178
commit 5a18424744

View File

@ -113,12 +113,6 @@ else
check_lib AL -lopenal alcOpenDevice
fi
if [ "$OS" = 'Darwin' ]; then
check_lib FBO "-framework OpenGL" glFramebufferTexture2D
else
check_lib FBO -lGL glFramebufferTexture2D
fi
check_pkgconf RSOUND rsound 1.1
check_pkgconf ROAR libroar
check_pkgconf JACK jack 0.120.1
@ -195,6 +189,16 @@ else
HAVE_GLES=no
fi
if [ "$OS" = 'Darwin' ]; then
check_lib FBO "-framework OpenGL" glFramebufferTexture2D
else
if [ "$HAVE_GLES" = "yes" ]; then
[ $HAVE_FBO != "no" ] && HAVE_FBO=yes
else
check_lib FBO -lGL glFramebufferTexture2D
fi
fi
check_pkgconf FREETYPE freetype2
check_pkgconf X11 x11
[ "$HAVE_X11" = "no" ] && HAVE_XEXT=no && HAVE_XF86VM=no && HAVE_XINERAMA=no