mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/
This commit is contained in:
parent
149a4175fa
commit
1437b41d90
4 changed files with 7 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 *
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -877,7 +877,7 @@ end:
|
|||
|
||||
RENDER_FINISH(swrast,ctx);
|
||||
|
||||
_mesa_unmap_drapix_pbo(ctx, unpack);
|
||||
_mesa_unmap_drawpix_pbo(ctx, unpack);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue