diff options
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index 9d73281f0b9..f88e5ebb7a1 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -189,7 +189,7 @@ static void r300BufferData(GLcontext *ctx, GLenum target, GLsizeiptrARB size, _mesa_buffer_data(ctx, target, size, data, usage, obj); return ; } - obj->Data = ((char *)rmesa->radeon.radeonScreen->gartTextures.map) + offset; + obj->Data = ((GLubyte *)rmesa->radeon.radeonScreen->gartTextures.map) + offset; if (data) memcpy(obj->Data, data, size); |