From 0e27d8717c2dc385af14654c39f78207165e23ec Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 21 Jan 2025 14:36:33 +0300 Subject: [PATCH] ref: remove servercount from texture struct, Xash don't use it (and it's also harmful anyway) --- ref/gl/gl_local.h | 1 - ref/soft/r_local.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/ref/gl/gl_local.h b/ref/gl/gl_local.h index 8679ca60..35ec8182 100644 --- a/ref/gl/gl_local.h +++ b/ref/gl/gl_local.h @@ -130,7 +130,6 @@ typedef struct gltexture_s float xscale; float yscale; - int servercount; uint hashValue; struct gltexture_s *nextHash; } gl_texture_t; diff --git a/ref/soft/r_local.h b/ref/soft/r_local.h index 772e1c88..0b76ad97 100644 --- a/ref/soft/r_local.h +++ b/ref/soft/r_local.h @@ -363,8 +363,6 @@ typedef struct image_s pixel_t *pixels[4]; // mip levels pixel_t *alpha_pixels; // mip levels - - int servercount; uint hashValue; struct image_s *nextHash; } image_t;