diff options
author | Brian Paul <[email protected]> | 2011-10-03 17:37:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-10-03 17:37:04 -0600 |
commit | 6a04fa9cd4982f056588e11263345e1561197261 (patch) | |
tree | 85e462b2797f548b6b88c2090cafc1a467cc9f4d | |
parent | 669f1822d2a60865514faf37f9fde21e4567b3d2 (diff) |
mesa: fix warning (MSVC error) about void pointer arithmetic
-rw-r--r-- | src/mesa/main/texstore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 658db2066b5..34ee53952ae 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -4653,7 +4653,7 @@ _mesa_store_teximage2d(struct gl_context *ctx, GLenum target, GLint level, if (!success) break; - pixels += srcStride; + pixels = (const GLubyte *) pixels + srcStride; } } else { /* Map dest texture buffer (write to whole region) */ |