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; } }