CONFIGURE: Abort configure stage when invalid OpenGL mode is specified.
This commit is contained in:
parent
c4e65732be
commit
472dbc4a84
1 changed files with 5 additions and 0 deletions
5
configure
vendored
5
configure
vendored
|
@ -4232,6 +4232,11 @@ case $_opengl_mode in
|
|||
echo "yes (OpenGL ES 2)"
|
||||
add_line_to_config_h "#define USE_GLES_MODE 2"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "invalid mode specification '$_opengl_mode'. Aborting."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
define_in_config_if_yes "$_opengl" "USE_OPENGL"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue