ref: 5f773b694104d137640a1722a6699a54a28656c1
parent: 60d4aaf6f0e28fb4893c8d14e0fd86f5a2fb76e1
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sat Oct 14 20:51:07 EDT 2023
model: don't care if texture is not 16-byte aligned
--- a/model.c
+++ b/model.c
@@ -360,7 +360,7 @@
mt->offsets[j] = LittleLong (mt->offsets[j]);
if ( (mt->width & 15) || (mt->height & 15) )
- Host_Error("Texture %s is not 16 aligned", mt->name);
+ Con_DPrintf("Texture %s is not 16 aligned", mt->name);
pixels = mt->width*mt->height/64*85;
tx = Hunk_Alloc(pixels + sizeof *tx);
loadmodel->textures[i] = tx;