summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_bufmgr.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-06-30 20:33:57 -0700
committerKenneth Graunke <[email protected]>2017-06-30 20:35:14 -0700
commitf78aa2c9864d26e50df0729b94deb24701d95871 (patch)
tree2a0598a356240be70b1cb958aefec428ae09157c /src/mesa/drivers/dri/i965/brw_bufmgr.h
parent314647c4c206917ec01b72d9f9adc2b6cbdef6b7 (diff)
i965: Add inline to brw_bo_unmap
I meant to do this in "i965: Make brw_bo_unmap a static inline." but botched the commit fixup.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_bufmgr.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_bufmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h
index a817958d7bd..4d671b6aaeb 100644
--- a/src/mesa/drivers/dri/i965/brw_bufmgr.h
+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h
@@ -212,7 +212,7 @@ MUST_CHECK void *brw_bo_map(struct brw_context *brw, struct brw_bo *bo, unsigned
* Reduces the refcount on the userspace mapping of the buffer
* object.
*/
-static int brw_bo_unmap(struct brw_bo *bo) { return 0; }
+static inline int brw_bo_unmap(struct brw_bo *bo) { return 0; }
/** Write data into an object. */
int brw_bo_subdata(struct brw_bo *bo, uint64_t offset,