summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2017-03-21 11:49:11 +1100
committerTimothy Arceri <tarceri@itsqueeze.com>2017-03-21 11:51:03 +1100
commit020b3f0c4696af198af2b058ec1800723544a2ec (patch)
treebd09094354c208d869482dc62fcc311521e657dc /src/util
parentb9a370f2b4fc5b857ca06f7e5a07cb04219ca9d1 (diff)
util/disk_cache: fix build on platforms where shader cache is disabled
Diffstat (limited to 'src/util')
-rw-r--r--src/util/disk_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h
index e3663a65c5..965fea1d94 100644
--- a/src/util/disk_cache.h
+++ b/src/util/disk_cache.h
@@ -229,7 +229,7 @@ disk_cache_has_key(struct disk_cache *cache, const cache_key key)
return false;
}
-void
+static inline void
disk_cache_compute_key(struct disk_cache *cache, const void *data, size_t size,
const cache_key key)
{