diff libvo/matrixview.c @ 36227:f73711af11ae

Remove unused arguments, add "const"
author reimar
date Sun, 09 Jun 2013 22:16:15 +0000
parents a8fc00cb36c3
children 0cfa55e44ea5
line wrap: on
line diff
--- a/libvo/matrixview.c	Sun Jun 09 22:05:43 2013 +0000
+++ b/libvo/matrixview.c	Sun Jun 09 22:16:15 2013 +0000
@@ -126,7 +126,7 @@
     mpglVertex3f(x - 1, y - 2, z);
 }
 
-static void draw_text(uint8_t *pic)
+static void draw_text(const uint8_t *pic)
 {
     int x, y;
     int p = 0;
@@ -326,8 +326,7 @@
 }
 
 
-void matrixview_draw(int w, int h, double currentTime, float frameTime,
-                     uint8_t *data)
+void matrixview_draw(double currentTime, const uint8_t *data)
 {
     // Clear the color and depth buffers.
     mpglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);