mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 11:10:10 +01:00
radeon / r200: Use gl_constants::MinMapBufferAlignment as the alignment in radeon_bo_open
These drivers do not support GL_ARB_map_buffer_range, so no special treatment is needed for unaligned offsets in the mapping. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
f772d51c25
commit
d38867d80c
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ radeonBufferData(struct gl_context * ctx,
|
|||
radeon_obj->bo = radeon_bo_open(radeon->radeonScreen->bom,
|
||||
0,
|
||||
size,
|
||||
32,
|
||||
ctx->Const.MinMapBufferAlignment,
|
||||
RADEON_GEM_DOMAIN_GTT,
|
||||
0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue