remove this since its not needed anymore

This commit is contained in:
Alug committed 2024-01-23 21:24:18 +01:00
1 parent 701bac6e11
commit dcfec35e57
1 file changed
-3
-3
View File
@@ -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);