Render errored holey textures as TRANSERx

This commit is contained in:
James R 2024-02-11 17:04:51 -08:00
parent 38c9c5f9a7
commit 3e225f97a2

View file

@ -2068,7 +2068,8 @@ void R_StoreWallRange(INT32 start, INT32 stop)
if (textures[texnum]->holes)
{
srb2::r_debug::add_texture_to_frame_list(texnum);
return 0; // R_DrawWallColumn cannot render holey textures
// R_DrawWallColumn cannot render holey textures
return R_GetTextureNum(R_CheckTextureNumForName("TRANSER1"));
}
return texnum;
};