mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
IMGUI: Only enable ImGui on SDL2
This commit is contained in:
parent
a04fe8ef2f
commit
989acab7b2
27
configure
vendored
27
configure
vendored
@ -6775,12 +6775,31 @@ echo "$_discord"
|
||||
#
|
||||
echocheck "ImGui"
|
||||
|
||||
if test "$_opengl" = yes ; then
|
||||
define_in_config_if_yes "$_imgui" 'USE_IMGUI'
|
||||
echo "$_imgui"
|
||||
if test "$_imgui" != no ; then
|
||||
if test "$_opengl" = yes ; then
|
||||
case $_backend in
|
||||
sdl)
|
||||
if test "$_sdlMajorVersionNumber" -ge 2 ; then
|
||||
_imgui=yes
|
||||
echo "yes"
|
||||
else
|
||||
_imgui=no
|
||||
echo "no (backend unsupported)"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
# For now, only SDL supports ImGui
|
||||
_imgui=no
|
||||
echo "no (backend unsupported)"
|
||||
;;
|
||||
esac
|
||||
else
|
||||
echo "no (requires OpenGL)"
|
||||
fi
|
||||
else
|
||||
echo "no (requires OpenGL)"
|
||||
echo "$_imgui"
|
||||
fi
|
||||
define_in_config_if_yes "$_imgui" 'USE_IMGUI'
|
||||
|
||||
#
|
||||
# Enable vkeybd / event recorder
|
||||
|
Loading…
Reference in New Issue
Block a user