[MPlayer-cvslog] r36232 - trunk/libvo/matrixview.c

reimar subversion at mplayerhq.hu
Sat May 4 23:44:42 CEST 2013


Author: reimar
Date: Sat May  4 23:44:42 2013
New Revision: 36232

Log:
Fix matrixview color.

Was broken when replacing glColor4f with glColor4ub.

Modified:
   trunk/libvo/matrixview.c

Modified: trunk/libvo/matrixview.c
==============================================================================
--- trunk/libvo/matrixview.c	Sat May  4 23:41:37 2013	(r36231)
+++ trunk/libvo/matrixview.c	Sat May  4 23:44:42 2013	(r36232)
@@ -77,7 +77,7 @@ static void draw_char(int num, float lig
     ty = (float)num2 / 7;
     tx = (float)num3 / 10;
     mpglNormal3f(0.0f, 0.0f, 1.0f);        // Needed for lighting
-    mpglColor4ub(0, 255, 255, light);        // Basic polygon color
+    mpglColor4ub(0, 255, 0, light);        // Basic polygon color
 
     mpglTexCoord2f(tx, ty);
     mpglVertex3f(x, y, z);


More information about the MPlayer-cvslog mailing list