mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
i965/bufmgr: Use the correct argument order for bo_alloc_internal
The memzone and flags parameters were accidentally flipped in the call from brw_bo_alloc_tiled_2d. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
60e6b6fa96
commit
6a35ba5ce9
1 changed files with 2 additions and 2 deletions
|
|
@ -720,8 +720,8 @@ brw_bo_alloc_tiled_2d(struct brw_bufmgr *bufmgr, const char *name,
|
|||
if (tiling == I915_TILING_NONE)
|
||||
stride = 0;
|
||||
|
||||
return bo_alloc_internal(bufmgr, name, size, flags,
|
||||
memzone, tiling, stride);
|
||||
return bo_alloc_internal(bufmgr, name, size, memzone,
|
||||
flags, tiling, stride);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue