From 43e2be58da924e8e35e57732ee00822bcae1573e Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 17 Feb 2024 17:31:14 +0100 Subject: [PATCH] Revert "add an error message here" This reverts commit 44b8a8a0d8b79aaaaa08f3f96f7022679789beac. --- src/hardware/hw_cache.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/hardware/hw_cache.c b/src/hardware/hw_cache.c index 9df626865..e335bef2a 100644 --- a/src/hardware/hw_cache.c +++ b/src/hardware/hw_cache.c @@ -566,10 +566,6 @@ GLMapTexture_t *HWR_GetTexture(INT32 tex, boolean noencore) if ((unsigned)tex >= gr_numtextures) I_Error("HWR_GetTexture: tex >= numtextures\n"); #endif - - if (!tex) - I_Error ("HWR_GetTexture: There was an issue passing a Texture to HWR_GetTexture\nthis should never happen and is\nnmost likely and issue with the map\n"); - grtex = &gr_textures[tex*2 + (encoremap && !noencore ? 0 : 1)]; if (!grtex->mipmap.data && !grtex->mipmap.downloaded)