[Scummvm-git-logs] scummvm master -> 626284976c16f542cbf7aaf1cec41c6d0f914cb6

aquadran aquadran at gmail.com
Fri Oct 30 15:16:28 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
626284976c CONFIGURE: Enable opengles2 in 3d games by default for raspberrypi


Commit: 626284976c16f542cbf7aaf1cec41c6d0f914cb6
    https://github.com/scummvm/scummvm/commit/626284976c16f542cbf7aaf1cec41c6d0f914cb6
Author: Paweł Kołodziejski (aquadran at users.sourceforge.net)
Date: 2020-10-30T16:16:22+01:00

Commit Message:
CONFIGURE: Enable opengles2 in 3d games by default for raspberrypi

Changed paths:
    configure


diff --git a/configure b/configure
index 49b7dc25cd..4ad99758c7 100755
--- a/configure
+++ b/configure
@@ -3369,6 +3369,7 @@ if test -n "$_host"; then
 			# The Raspberry Pi always supports OpenGL ES 2.0 contexts, thus we
 			# take advantage of those.
 			_opengl_mode=gles2
+			_opengl_game_es2=yes
 			;;
 		dreamcast)
 			append_var DEFINES "-DDISABLE_DEFAULT_SAVEFILEMANAGER"
@@ -5392,7 +5393,7 @@ echocheck "OpenGL for game"
 
 if test "$_opengl_game" = auto ; then
 	_opengl_game=no
-	if (test "$_backend" = "sdl" && test "$_opengl" = yes) || test "$_backend" = "android3d" || test "$_backend" = "switch"; then
+	if (test "$_backend" = "sdl" && test "$_opengl" = yes) || test "$_backend" = "android3d" || test "$_backend" = "switch" || test "$_backend" = "raspberrypi"; then
 		# Try different header filenames
 		# 1) GL/gl.h         This is usually used on POSIX and Windows systems
 		# 2) OpenGL/gl.h     This is used on Mac OS X




More information about the Scummvm-git-logs mailing list