mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
qb: Add missing checks for EGL support.
Some systems may have egl libraries, but not egl headers which will result in failing to build EGL support. Also OpenGLES2 also required EGL support so lets make that clear.
This commit is contained in:
parent
36575e5d69
commit
9794e4af07
@ -99,6 +99,7 @@ if [ "$HAVE_FLOATSOFTFP" = "yes" ]; then
|
||||
fi
|
||||
|
||||
if [ "$HAVE_EGL" != "no" ] && [ "$OS" != 'Win32' ]; then
|
||||
check_header EGL EGL/egl.h EGL/eglext.h
|
||||
# some systems have EGL libs, but no pkgconfig
|
||||
# https://github.com/linux-sunxi/sunxi-mali/pull/8
|
||||
check_val '' EGL "-l${VC_PREFIX}EGL $EXTRA_GL_LIBS" '' "${VC_PREFIX}egl" '' '' true
|
||||
@ -353,6 +354,7 @@ else
|
||||
HAVE_OPENGL='no'
|
||||
fi
|
||||
|
||||
check_enabled EGL OPENGLES OpenGLES 'EGL is' false
|
||||
check_enabled EGL OPENGLES3 OpenGLES3 'EGL is' false
|
||||
check_enabled OPENGL CG Cg 'OpenGL is' false
|
||||
check_enabled OPENGL OSMESA osmesa 'OpenGL is' false
|
||||
|
Loading…
x
Reference in New Issue
Block a user