From a9f5180540a460bd4158f4e9578239f3ded9e7e9 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 11 Nov 2012 09:55:55 +0000 Subject: [PATCH] gl_model.c (Mod_LoadTexinfo): although the end result in memory doesn't change, load the texinfo in a way consistent with the layout of the vecs in the mtexinfo_t struct. from a recent commit in tyr-quake git repo. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@786 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/gl_model.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Quake/gl_model.c b/Quake/gl_model.c index 6177539a..37f6d07c 100644 --- a/Quake/gl_model.c +++ b/Quake/gl_model.c @@ -841,8 +841,11 @@ void Mod_LoadTexinfo (lump_t *l) for ( i=0 ; ivecs[0][j] = LittleFloat (in->vecs[0][j]); + out->vecs[1][j] = LittleFloat (in->vecs[1][j]); + } len1 = VectorLength (out->vecs[0]); len2 = VectorLength (out->vecs[1]); len1 = (len1 + len2)/2;