gnome-games r8034 - branches/gnome-2-24/glchess/src/lib/scene/opengl



Author: rancell
Date: Wed Oct 15 10:14:07 2008
New Revision: 8034
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8034&view=rev

Log:
More logging messages about selection rendering bugs

Modified:
   branches/gnome-2-24/glchess/src/lib/scene/opengl/opengl.py

Modified: branches/gnome-2-24/glchess/src/lib/scene/opengl/opengl.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/scene/opengl/opengl.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/scene/opengl/opengl.py	Wed Oct 15 10:14:07 2008
@@ -365,6 +365,7 @@
         try:
             glRenderMode(GL_SELECT)
         except IndexError:
+            print 'Failed to change to GL_SELECT render mode (Bug #538252)'
             glRenderMode(GL_RENDER)
             return None
 
@@ -412,7 +413,7 @@
         # that would generate bugzilla report into the user input being ignored. This should
         # be removed once the problem has been fixed (assumed to be in PyGTK/OpenGL drivers).
         if len(coord) != 2:
-            print 'Invalid response received from glRenderMode(GL_RENDER): coord=%s, viewport=%s' % (repr(coord), repr(viewport))
+            print 'Invalid response received from glRenderMode(GL_RENDER) (Bug #535256): coord=%s, viewport=%s' % (repr(coord), repr(viewport))
             return None
 
         # Convert from co-ordinates to LAN format



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]