[gnome-chess] 3D: bottom-right corner should be white



commit f6a1586188192523fe68637b33eaa25fa3e516a7
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Tue Jul 9 21:04:52 2013 -0500

    3D: bottom-right corner should be white
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703842

 src/chess-view-3d.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/chess-view-3d.vala b/src/chess-view-3d.vala
index 0961639..8920384 100644
--- a/src/chess-view-3d.vala
+++ b/src/chess-view-3d.vala
@@ -324,9 +324,9 @@ private class ChessView3D : ChessView
             for (var file = 0; file < 8; file++)
             {
                 if ((file + rank) % 2 == 0)
-                    glColor3f (0xee / 255f, 0xee / 255f, 0xec / 255f);
-                else
                     glColor3f (0xba / 255f, 0xbd / 255f, 0xb6 / 255f);
+                else
+                    glColor3f (0xee / 255f, 0xee / 255f, 0xec / 255f);
 
                 glBegin (GL_QUADS);
                 GLfloat x0 = BOARD_BORDER + (file * SQUARE_WIDTH);


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