rpms/xmoto/devel xmoto-0.4.2-opengldepth.patch, NONE, 1.1 xmoto.spec, 1.47, 1.48

Jon Ciesla limb at fedoraproject.org
Mon Feb 2 16:19:36 UTC 2009


Author: limb

Update of /cvs/pkgs/rpms/xmoto/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20298

Modified Files:
	xmoto.spec 
Added Files:
	xmoto-0.4.2-opengldepth.patch 
Log Message:
ATI opengl fix, BZ 481485.


xmoto-0.4.2-opengldepth.patch:

--- NEW FILE xmoto-0.4.2-opengldepth.patch ---
--- src/drawlib/DrawLibOpenGL.cpp~	2009-02-02 09:37:16.000000000 -0600
+++ src/drawlib/DrawLibOpenGL.cpp	2009-02-02 09:37:16.000000000 -0600
@@ -275,6 +274,0 @@
-  /* Did we get a z-buffer? */        
-  int nDepthBits;
-  SDL_GL_GetAttribute(SDL_GL_DEPTH_SIZE, &nDepthBits);
-  if(nDepthBits == 0)
-    throw Exception("no depth buffer");  
-  
@@ -285,3 +278,0 @@
-  glClearDepth(1);
-  glDepthFunc(GL_LEQUAL);
-


Index: xmoto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xmoto/devel/xmoto.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- xmoto.spec	20 Jan 2009 18:22:56 -0000	1.47
+++ xmoto.spec	2 Feb 2009 16:19:06 -0000	1.48
@@ -1,6 +1,6 @@
 Name:		xmoto
 Version:	0.5.0
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	Challenging 2D Motocross Platform Game
 
 Group:		Amusements/Games
@@ -15,6 +15,7 @@
 Patch3:		xmoto-0.4.0-Environment-string.patch
 #Patch4:		xmoto-0.4.0-DrawLib-hashmap.patch
 #Patch5:		xmoto-0.4.2-initode.patch
+Patch6:		xmoto-0.4.2-opengldepth.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	desktop-file-utils
@@ -54,6 +55,7 @@
 %patch3 -p0
 #%patch4 -p0
 #%patch5 -p1
+%patch6 -p0
 
 #fix encoding
 sed -i 's/\r//' src/xmscene/Camera.cpp
@@ -115,6 +117,9 @@
 %{_mandir}/man6/xmoto.6.gz
 
 %changelog
+* Mon Feb 02 2009 Jon Ciesla <limb at jcomserv.net> 0.5.0-5
+- Fix for ati crash, BZ 481485.
+
 * Tue Jan 20 2009 Jon Ciesla <limb at jcomserv.net> 0.5.0-4
 - Font requires change for BZ 480480, dejavu rename.
 




More information about the scm-commits mailing list