diff options
author | Brian Paul <[email protected]> | 2012-01-16 10:54:41 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:10 -0700 |
commit | bd3c10c0f0c60ab3421c2da2eab814edc2296cb0 (patch) | |
tree | 936f9ce4cafba10935227e75169bc6b7a8675cfc /src/mesa/swrast/s_texture.c | |
parent | ecb8594c184f5daa2f5a735e42ee24e7d110aa9f (diff) |
swrast: s/Data/Map/ in swrast_texture_image
To indicate that it points to mapped texture memory.
Diffstat (limited to 'src/mesa/swrast/s_texture.c')
-rw-r--r-- | src/mesa/swrast/s_texture.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c index 337a52f32a0..a50018dfd4b 100644 --- a/src/mesa/swrast/s_texture.c +++ b/src/mesa/swrast/s_texture.c @@ -247,7 +247,7 @@ _swrast_map_texture(struct gl_context *ctx, struct gl_texture_object *texObj) swrast_texture_image(texImage); /* XXX we'll eventually call _swrast_map_teximage() here */ - swImage->Data = swImage->Buffer; + swImage->Map = swImage->Buffer; } } } @@ -268,7 +268,7 @@ _swrast_unmap_texture(struct gl_context *ctx, struct gl_texture_object *texObj) = swrast_texture_image(texImage); /* XXX we'll eventually call _swrast_unmap_teximage() here */ - swImage->Data = NULL; + swImage->Map = NULL; } } } @@ -337,11 +337,11 @@ map_unmap_renderbuffers(struct gl_context *ctx, if (map) { /* XXX we'll eventually call _swrast_map_teximage() here */ - swImage->Data = swImage->Buffer; + swImage->Map = swImage->Buffer; } else { /* XXX we'll eventually call _swrast_unmap_teximage() here */ - swImage->Data = NULL; + swImage->Map = NULL; } } } |