# HG changeset patch # User reimar # Date 1371063258 0 # Node ID ca4ce05e193078cda5b8fb0522585f795be6f663 # Parent 33b774ea1ae62e5547f86103607fbe06ae50cde2 Fix texture coordinates and number of characters. diff -r 33b774ea1ae6 -r ca4ce05e1930 libvo/matrixview.c --- a/libvo/matrixview.c Wed Jun 12 18:54:16 2013 +0000 +++ b/libvo/matrixview.c Wed Jun 12 18:54:18 2013 +0000 @@ -64,12 +64,12 @@ float tx, ty; int num2, num3; - num &= 63; + num %= 55; //light = light / 255; //light=7-light;num+=(light*60); light *= matrix_brightness; num2 = num / 10; num3 = num - (num2 * 10); - ty = (float)num2 / 7; + ty = (float)num2 / 6; tx = (float)num3 / 10; mpglColor4ub(0, light, 0, 255); // Basic polygon color @@ -88,9 +88,10 @@ float tx, ty; int num2, num3; + num %= 55; num2 = num / 10; num3 = num - (num2 * 10); - ty = (float)num2 / 7; + ty = (float)num2 / 6; tx = (float)num3 / 10; mpglColor4ub(128, 128, 128, 255); // Basic polygon color