summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-11-18 18:16:50 -0700
committerBrian Paul <brianp@vmware.com>2009-11-18 18:16:50 -0700
commitc1bca1c3fc918d278711d25b2aecb6e0aeb7a474 (patch)
treeb7b50a7cc4adf949820af0eb0259b51ea270878f
parent9eccdfc7d5a10a8e2942c55b00d08efb9406c29a (diff)
radeon: comments for radeonMap/UnmapTexture()
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_texture.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c
index 32329738e9..b9f3032958 100644
--- a/src/mesa/drivers/dri/radeon/radeon_texture.c
+++ b/src/mesa/drivers/dri/radeon/radeon_texture.c
@@ -155,6 +155,7 @@ static void unmap_override(GLcontext *ctx, radeonTexObj *t)
/**
* Map a validated texture for reading during software rendering.
+ * Called via ctx->Driver.MapTexture()
*/
void radeonMapTexture(GLcontext *ctx, struct gl_texture_object *texObj,
GLenum mode)
@@ -179,6 +180,9 @@ void radeonMapTexture(GLcontext *ctx, struct gl_texture_object *texObj,
}
}
+/**
+ * Called via ctx->Driver.UnmapTexture()
+ */
void radeonUnmapTexture(GLcontext *ctx, struct gl_texture_object *texObj)
{
radeonTexObj* t = radeon_tex_obj(texObj);