gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 25 Apr 2008 20:15:42 +0000 (14:15 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 25 Apr 2008 20:18:09 +0000 (14:18 -0600)
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/swrast/s_drawpix.c

index e762eb3b634e56db15a7bcc4648b99155678d663..dc0307feb5653be0025abaf97c9995ad0f4acb73 100644 (file)
@@ -551,8 +551,8 @@ _mesa_map_drawpix_pbo(GLcontext *ctx,
  * \sa _mesa_unmap_bitmap_pbo
  */
 void
-_mesa_unmap_drapix_pbo(GLcontext *ctx,
-                       const struct gl_pixelstore_attrib *unpack)
+_mesa_unmap_drawpix_pbo(GLcontext *ctx,
+                        const struct gl_pixelstore_attrib *unpack)
 {
    if (unpack->BufferObj->Name) {
       ctx->Driver.UnmapBuffer(ctx, GL_PIXEL_UNPACK_BUFFER_EXT,
index 46525f08ae39a6b5390e93114b7cbd72e0fd59d7..024e5a8c3c867e042ce74cf100ab4618e4caa4e6 100644 (file)
@@ -101,8 +101,8 @@ _mesa_map_drawpix_pbo(GLcontext *ctx,
                       const GLvoid *pixels);
 
 extern void
-_mesa_unmap_drapix_pbo(GLcontext *ctx,
-                       const struct gl_pixelstore_attrib *unpack);
+_mesa_unmap_drawpix_pbo(GLcontext *ctx,
+                        const struct gl_pixelstore_attrib *unpack);
 
 
 extern void *
index 7c87402f27a42789f7d0f5222bbd102d7c2058dc..cdfa041d15fa20853db25898bbf78a33b5c5faea 100644 (file)
@@ -349,7 +349,7 @@ make_texture(struct st_context *st,
    pt = st_texture_create(st, PIPE_TEXTURE_2D, pipeFormat, 0, width, height,
                          1, 0);
    if (!pt) {
-      _mesa_unmap_drapix_pbo(ctx, unpack);
+      _mesa_unmap_drawpix_pbo(ctx, unpack);
       return NULL;
    }
 
@@ -395,7 +395,7 @@ make_texture(struct st_context *st,
       ctx->_ImageTransferState = imageTransferStateSave;
    }
 
-   _mesa_unmap_drapix_pbo(ctx, unpack);
+   _mesa_unmap_drawpix_pbo(ctx, unpack);
 
    return pt;
 }
index fb04d9f746a45ec9a884b5803096b7afe2127c99..cbf661705882b2efdcdaebe12c6cd48c93e97b37 100644 (file)
@@ -877,7 +877,7 @@ end:
 
    RENDER_FINISH(swrast,ctx);
 
-   _mesa_unmap_drapix_pbo(ctx, unpack);
+   _mesa_unmap_drawpix_pbo(ctx, unpack);
 }