diff options
author | Brian Paul <[email protected]> | 2012-01-16 10:54:47 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:11 -0700 |
commit | e34a54ff451a37a6e6eab529c44330dd6a8b218b (patch) | |
tree | 0ab97e3201d725fed56ade331f115b419601a804 /src/mesa/swrast/s_stencil.c | |
parent | bd3c10c0f0c60ab3421c2da2eab814edc2296cb0 (diff) |
swrast: use _swrast_pixel_address() in more places
Diffstat (limited to 'src/mesa/swrast/s_stencil.c')
-rw-r--r-- | src/mesa/swrast/s_stencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_stencil.c b/src/mesa/swrast/s_stencil.c index fb95ef14df3..98af928208c 100644 --- a/src/mesa/swrast/s_stencil.c +++ b/src/mesa/swrast/s_stencil.c @@ -293,7 +293,7 @@ get_s8_values(struct gl_context *ctx, struct gl_renderbuffer *rb, GLubyte stencil[]) { const GLint w = rb->Width, h = rb->Height; - const GLubyte *map = (const GLubyte *) rb->Data; + const GLubyte *map = _swrast_pixel_address(rb, 0, 0); GLuint i; if (rb->Format == MESA_FORMAT_S8) { |