mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
glsl: Add missing cache_destroy stub function.
CC glsl/tests/cache_test.o
glsl/tests/cache_test.c: In function ‘test_cache_create’:
glsl/tests/cache_test.c:160:4: error: implicit declaration of function ‘cache_destroy’ [-Werror=implicit-function-declaration]
cache_destroy(cache);
^
Fixes: 87ab26b2ab ("glsl: Add initial functions to implement an on-disk cache")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
This commit is contained in:
parent
f8f6f60a36
commit
0a898ec28b
1 changed files with 5 additions and 0 deletions
|
|
@ -138,6 +138,11 @@ cache_create(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static inline void
|
||||
cache_destroy(struct program_cache *cache) {
|
||||
return;
|
||||
}
|
||||
|
||||
static inline void
|
||||
cache_put(struct program_cache *cache, cache_key key,
|
||||
const void *data, size_t size)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue