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



commit 96a9199c42752b5056b31265e5bbbd86cebd1213
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 68ecf11..52f4668 100644
--- a/src/chess-view-3d.vala
+++ b/src/chess-view-3d.vala
@@ -316,9 +316,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]