diff options
author | Jason Ekstrand <[email protected]> | 2018-06-26 18:32:38 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-27 12:43:18 -0700 |
commit | 6a35ba5ce980ae248cd132457a98b9a8b5ce7134 (patch) | |
tree | c8d7daf4fc5a2b6a01a2fafe9113b221a05bf0f7 /src/mesa | |
parent | 60e6b6fa9651dcf94cf3f1405048f9ddbbd5dd48 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_bufmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c index 7ac3bcad3da..09d45e30ecc 100644 --- a/src/mesa/drivers/dri/i965/brw_bufmgr.c +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c @@ -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); } /** |