From baad766affd4ed4e6d782656f768b021ce58ff9c 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 42809f351..d31a8adca 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -1846,8 +1846,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; } }