mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 08:40:39 +01:00
fix a cast/assignment warning
This commit is contained in:
parent
513a553d4a
commit
f830f640b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue