rpms/opengl-games-utils/devel opengl-game-functions.sh, 1.4, 1.5 opengl-games-utils.spec, 1.6, 1.7

Hans de Goede jwrdegoede at fedoraproject.org
Fri Apr 10 13:32:50 UTC 2009


Author: jwrdegoede

Update of /cvs/extras/rpms/opengl-games-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5334

Modified Files:
	opengl-game-functions.sh opengl-games-utils.spec 
Log Message:
* Fri Apr 10 2009 Hans de Goede <hdegoede at redhat.com> 0.1-8
- Recognize software rendering as such with new Mesa which always says
  DRI = Yes (rh 494174)



Index: opengl-game-functions.sh
===================================================================
RCS file: /cvs/extras/rpms/opengl-games-utils/devel/opengl-game-functions.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- opengl-game-functions.sh	13 Nov 2008 14:35:54 -0000	1.4
+++ opengl-game-functions.sh	10 Apr 2009 13:32:19 -0000	1.5
@@ -1,7 +1,8 @@
 # check if DRI is available, show an error and exit if it isn't
 function checkDriOK ()
 {
-  if [ "`glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3`" != Yes ]; then
+  if [ "`glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3`" != Yes ] ||
+     glxinfo | grep -q "OpenGL renderer string: Software Rasterizer"; then
     zenity --error --text="Your system currently is not capable of hardware \
 accelerated 3D. Therefore $1 cannot run.
 


Index: opengl-games-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/opengl-games-utils/devel/opengl-games-utils.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- opengl-games-utils.spec	26 Feb 2009 08:28:47 -0000	1.6
+++ opengl-games-utils.spec	10 Apr 2009 13:32:19 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           opengl-games-utils
 Version:        0.1
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Utilities to check proper 3d support before launching 3d games
 Group:          Amusements/Games
 License:        Public Domain
@@ -48,6 +48,10 @@
 
 
 %changelog
+* Fri Apr 10 2009 Hans de Goede <hdegoede at redhat.com> 0.1-8
+- Recognize software rendering as such with new Mesa which always says
+  DRI = Yes (rh 494174)
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list