From dcfec35e5784921bfc8eea9a3fe1df0b2efb6151 Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 23 Jan 2024 21:24:18 +0100 Subject: [PATCH] remove this since its not needed anymore --- src/hardware/r_opengl/r_opengl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index 05dfa6505..6f89fd2ee 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -1402,9 +1402,6 @@ EXPORT void HWRAPI(UpdateTexture) (FTextureInfo *pTexInfo) //GL_DBG_Printf("UpdateTexture %d %x\n", (INT32)num, pImgData); - if (w*h > 2048*2048 && pTexInfo->format != GL_RGBA) - I_Error("Tried to convert too big texture: %dx%d", w, h); - if ((pTexInfo->format == GL_TEXFMT_P_8) || (pTexInfo->format == GL_TEXFMT_AP_88)) { AllocTextureBuffer(pTexInfo);