Module: Mesa
Branch: master
Commit: 020b3f0c4696af198af2b058ec1800723544a2ec
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=020b3f0c4696af198af2b058ec1800723544a2ec

Author: Timothy Arceri <tarc...@itsqueeze.com>
Date:   Tue Mar 21 11:49:11 2017 +1100

util/disk_cache: fix build on platforms where shader cache is disabled

---

 src/util/disk_cache.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 {

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to