mesa: fix some minor texstore comments

For the texsubimage commands, we're not mapping the whole image/region.
This commit is contained in:
Brian Paul 2011-12-01 10:47:31 -07:00
parent b4aecc4e18
commit 06913497d6
1 changed files with 3 additions and 3 deletions

View File

@ -4834,7 +4834,7 @@ _mesa_store_texsubimage1d(struct gl_context *ctx, GLenum target, GLint level,
if (!pixels)
return;
/* Map dest texture buffer (write to whole region) */
/* Map dest texture buffer */
ctx->Driver.MapTextureImage(ctx, texImage, 0,
xoffset, 0, width, 1,
rwMode,
@ -4887,7 +4887,7 @@ _mesa_store_texsubimage2d(struct gl_context *ctx, GLenum target, GLint level,
if (!pixels)
return;
/* Map dest texture buffer (write to whole region) */
/* Map dest texture buffer */
ctx->Driver.MapTextureImage(ctx, texImage, 0,
xoffset, yoffset, width, height,
rwMode,
@ -5150,7 +5150,7 @@ _mesa_store_compressed_texsubimage2d(struct gl_context *ctx, GLenum target,
srcRowStride = _mesa_format_row_stride(texFormat, width);
src = (const GLubyte *) data;
/* Map dest texture buffer (write to whole region) */
/* Map dest texture buffer */
ctx->Driver.MapTextureImage(ctx, texImage, 0,
xoffset, yoffset, width, height,
GL_MAP_WRITE_BIT,