generalized pixel format handling in 3d pipeline
[bootcensus] / src / census / census.c
index 7eea8d3..7c490db 100644 (file)
@@ -8,7 +8,7 @@
 #include "panic.h"
 
 static void draw_disc(float x, float y, float rad, int sub);
-static void draw_line(float x0, float y0, float x1, float y1, float rad);
+static void draw_fatline(float x0, float y0, float x1, float y1, float rad);
 
 static int nverts = 256;
 static long start_time;
@@ -60,7 +60,7 @@ void draw_census(void)
                float t1 = (float)(i + 1) * dt;
                eval_logo(a, t0);
                eval_logo(b, t1);
-               draw_line(a[0], a[1], b[0], b[1], 0.02);
+               draw_fatline(a[0], a[1], b[0], b[1], 0.02);
        }
 
        if(anim > 0.0f) {
@@ -98,7 +98,7 @@ static void draw_disc(float x, float y, float rad, int sub)
        g3d_end();
 }
 
-static void draw_line(float x0, float y0, float x1, float y1, float rad)
+static void draw_fatline(float x0, float y0, float x1, float y1, float rad)
 {
        float dx, dy, rx, ry, len;