From eadbe9c2e51b90d3541358f3f50c08e79f8077be Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 2 Jun 2025 20:55:59 +0200 Subject: [PATCH] delet this --- src/hardware/hw_batching.h | 2 -- src/hardware/r_opengl/r_opengl.c | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hardware/hw_batching.h b/src/hardware/hw_batching.h index 7f418fc77..715287edc 100644 --- a/src/hardware/hw_batching.h +++ b/src/hardware/hw_batching.h @@ -17,8 +17,6 @@ #include "hw_data.h" #include "hw_gl.h" -extern boolean currently_batching; - typedef struct { FSurfaceInfo surf;// surf also has its own polyflags for some reason, but it seems unused diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index a8e9d6350..5bc277e70 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -1907,8 +1907,7 @@ void GL_SetTexture(GLMipmap_t *pTexInfo) { if (pTexInfo->downloaded != tex_downloaded) { - if (!currently_batching) - pglBindTexture(GL_TEXTURE_2D, pTexInfo->downloaded); + pglBindTexture(GL_TEXTURE_2D, pTexInfo->downloaded); tex_downloaded = pTexInfo->downloaded; } }