r499 - packages/cube/trunk/debian/patches

Gonéri Le Bouder goneri-guest at costa.debian.org
Sat Apr 15 01:18:46 UTC 2006


Author: goneri-guest
Date: 2006-04-15 01:18:46 +0000 (Sat, 15 Apr 2006)
New Revision: 499

Removed:
   packages/cube/trunk/debian/patches/03_fix_crash_with_bad_gl_installation.patch
Modified:
   packages/cube/trunk/debian/patches/00list
Log:
03_fix_crash_with_bad_gl_installation.patch removed


Modified: packages/cube/trunk/debian/patches/00list
===================================================================
--- packages/cube/trunk/debian/patches/00list	2006-04-15 01:18:22 UTC (rev 498)
+++ packages/cube/trunk/debian/patches/00list	2006-04-15 01:18:46 UTC (rev 499)
@@ -1,3 +1,2 @@
 01_permissive_gcc.patch
 02_data_in_usr_share.patch
-03_fix_crash_with_bad_gl_installation.patch

Deleted: packages/cube/trunk/debian/patches/03_fix_crash_with_bad_gl_installation.patch
===================================================================
--- packages/cube/trunk/debian/patches/03_fix_crash_with_bad_gl_installation.patch	2006-04-15 01:18:22 UTC (rev 498)
+++ packages/cube/trunk/debian/patches/03_fix_crash_with_bad_gl_installation.patch	2006-04-15 01:18:46 UTC (rev 499)
@@ -1,21 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Gonéri Le Bouder <goneri at rulezlan.org>
-## DP: avoid crash with a bad GL installation
-## DP: TODO the cause is still not clear
-
-
- at DPATCH@
-
-diff -ru cube-2005.08.29.orig/src/rendergl.cpp cube-2005.08.29/src/rendergl.cpp
---- cube-2005.08.29.orig/src/rendergl.cpp	2005-08-16 05:25:10.000000000 +0200
-+++ cube-2005.08.29/src/rendergl.cpp	2006-04-11 01:16:40.000000000 +0200
-@@ -46,7 +46,7 @@
- 
-     char *exts = (char *)glGetString(GL_EXTENSIONS);
-     
--    if(strstr(exts, "GL_EXT_texture_env_combine")) hasoverbright = true;
-+    if((exts != NULL) && strstr(exts, "GL_EXT_texture_env_combine")) hasoverbright = true;
-     else conoutf("WARNING: cannot use overbright lighting, using old lighting model!");
-         
-     glGetIntegerv(GL_MAX_TEXTURE_SIZE, &glmaxtexsize);




More information about the Pkg-games-devel mailing list