From 00d13f055de2aa2cffa5e851ab3442a78fcf5ac4 Mon Sep 17 00:00:00 2001 From: Dominicentek Date: Mon, 18 Dec 2023 20:41:14 +0100 Subject: [PATCH] forgor to make it a pointer --- src/pc/gfx/gfx_pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/gfx/gfx_pc.c b/src/pc/gfx/gfx_pc.c index 98e758c9..7928a85d 100644 --- a/src/pc/gfx/gfx_pc.c +++ b/src/pc/gfx/gfx_pc.c @@ -1970,7 +1970,7 @@ void gfx_precache_textures(void) { //fs_walk(FS_TEXTUREDIR, preload_texture, NULL, true); // ...IM CLEARING THE CACHE INSTEAD XDDDDDDDD - memset(gfx_texture_cache, 0, sizeof(gfx_texture_cache)); + memset(&gfx_texture_cache, 0, sizeof(gfx_texture_cache)); } #endif