gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/

This commit is contained in:
Brian Paul 2008-04-25 14:15:42 -06:00
parent 149a4175fa
commit 1437b41d90
4 changed files with 7 additions and 7 deletions

View 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,

View 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 *

View 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;
}

View file

@ -877,7 +877,7 @@ end:
RENDER_FINISH(swrast,ctx);
_mesa_unmap_drapix_pbo(ctx, unpack);
_mesa_unmap_drawpix_pbo(ctx, unpack);
}