From dcdca01e86274194de7549c6a8c706e9c9f17aa8 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 9 Jan 2025 08:19:45 +0300 Subject: [PATCH] ref: gl: declare VBO globals static --- ref/gl/gl_rsurf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ref/gl/gl_rsurf.c b/ref/gl/gl_rsurf.c index 8ebbc130..fb50cf33 100644 --- a/ref/gl/gl_rsurf.c +++ b/ref/gl/gl_rsurf.c @@ -1855,7 +1855,7 @@ typedef struct vbodecaldata_s // gl_decals.c extern decal_t gDecalPool[MAX_RENDER_DECALS]; -struct vbo_static_s +static struct vbo_static_s { // quickly free all allocations on map change poolhandle_t mempool; @@ -1891,7 +1891,7 @@ struct vbo_static_s qboolean enabled; } vbos; -struct multitexturestate_s +static struct multitexturestate_s { int tmu_gl; // texture tmu int tmu_dt; // detail tmu