Fix typo
[mesa.git] / src / mesa / swrast / s_zoom.c
index 3520fd506ac6a1a9812c490dd7f3d3219f2a39f0..b2ecbf2d9027008c56855487b11041d5e99ebf12 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: s_zoom.c,v 1.1 2000/10/31 18:00:05 keithw Exp $ */
+/* $Id: s_zoom.c,v 1.3 2001/03/03 20:33:30 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -27,6 +27,7 @@
 #include "glheader.h"
 #include "macros.h"
 
+#include "s_context.h"
 #include "s_span.h"
 #include "s_stencil.h"
 #include "s_zoom.h"
  *         y0 - location of first row in the image we're drawing.
  */
 void
-gl_write_zoomed_rgba_span( GLcontext *ctx,
-                           GLuint n, GLint x, GLint y, const GLdepth z[],
-                          const GLfixed *fog,
-                           CONST GLchan rgba[][4], GLint y0 )
+_mesa_write_zoomed_rgba_span( GLcontext *ctx,
+                              GLuint n, GLint x, GLint y, const GLdepth z[],
+                              const GLfixed *fog,
+                              CONST GLchan rgba[][4], GLint y0 )
 {
    GLint m;
    GLint r0, r1, row, r;
@@ -141,7 +142,7 @@ gl_write_zoomed_rgba_span( GLcontext *ctx,
 
    /* write the span */
    for (r=r0; r<r1; r++) {
-      gl_write_rgba_span( ctx, m, x+skipcol, r, zdepth, 
+      _mesa_write_rgba_span( ctx, m, x+skipcol, r, zdepth, 
                          (fog ? zfog : 0),
                          zrgba, GL_BITMAP );
    }
@@ -150,10 +151,10 @@ gl_write_zoomed_rgba_span( GLcontext *ctx,
 
 
 void
-gl_write_zoomed_rgb_span( GLcontext *ctx,
-                          GLuint n, GLint x, GLint y, const GLdepth z[],
-                         const GLfixed *fog,
-                          CONST GLchan rgb[][3], GLint y0 )
+_mesa_write_zoomed_rgb_span( GLcontext *ctx,
+                             GLuint n, GLint x, GLint y, const GLdepth z[],
+                             const GLfixed *fog,
+                             CONST GLchan rgb[][3], GLint y0 )
 {
    GLint m;
    GLint r0, r1, row, r;
@@ -252,7 +253,7 @@ gl_write_zoomed_rgb_span( GLcontext *ctx,
 
    /* write the span */
    for (r=r0; r<r1; r++) {
-      gl_write_rgba_span( ctx, m, x+skipcol, r, zdepth, 
+      _mesa_write_rgba_span( ctx, m, x+skipcol, r, zdepth, 
                          (fog ? zfog : 0), zrgba, GL_BITMAP );
    }
 }
@@ -263,10 +264,10 @@ gl_write_zoomed_rgb_span( GLcontext *ctx,
  * As above, but write CI pixels.
  */
 void
-gl_write_zoomed_index_span( GLcontext *ctx,
-                            GLuint n, GLint x, GLint y, const GLdepth z[],
-                           const GLfixed *fog,
-                            const GLuint indexes[], GLint y0 )
+_mesa_write_zoomed_index_span( GLcontext *ctx,
+                               GLuint n, GLint x, GLint y, const GLdepth z[],
+                               const GLfixed *fog,
+                               const GLuint indexes[], GLint y0 )
 {
    GLint m;
    GLint r0, r1, row, r;
@@ -359,7 +360,7 @@ gl_write_zoomed_index_span( GLcontext *ctx,
 
    /* write the span */
    for (r=r0; r<r1; r++) {
-      gl_write_index_span( ctx, m, x+skipcol, r, zdepth, 
+      _mesa_write_index_span( ctx, m, x+skipcol, r, zdepth, 
                           (fog ? zfog : 0), zindexes, GL_BITMAP );
    }
 }
@@ -370,9 +371,9 @@ gl_write_zoomed_index_span( GLcontext *ctx,
  * As above, but write stencil values.
  */
 void
-gl_write_zoomed_stencil_span( GLcontext *ctx,
-                              GLuint n, GLint x, GLint y,
-                              const GLstencil stencil[], GLint y0 )
+_mesa_write_zoomed_stencil_span( GLcontext *ctx,
+                                 GLuint n, GLint x, GLint y,
+                                 const GLstencil stencil[], GLint y0 )
 {
    GLint m;
    GLint r0, r1, row, r;