[ioquake3] 37/59: OpenGL2: Fix reversed VectorCopy4() usage.

Simon McVittie smcv at debian.org
Wed Sep 21 19:57:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit ec3779988cadcc54bdbcfd4e64099b82c1f6b81a
Author: SmileTheory <SmileTheory at gmail.com>
Date:   Sun Sep 11 16:08:18 2016 -0700

    OpenGL2: Fix reversed VectorCopy4() usage.
---
 code/renderergl2/tr_surface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/code/renderergl2/tr_surface.c b/code/renderergl2/tr_surface.c
index c19410c..063f4b1 100644
--- a/code/renderergl2/tr_surface.c
+++ b/code/renderergl2/tr_surface.c
@@ -1125,14 +1125,14 @@ static void RB_SurfaceGrid( srfBspSurface_t *srf ) {
 
 				if ( tess.shader->vertexAttribs & ATTR_NORMAL )
 				{
-					VectorCopy4(normal, dv->normal);
+					VectorCopy4(dv->normal, normal);
 					normal += 4;
 				}
 
 #ifdef USE_VERT_TANGENT_SPACE
 				if ( tess.shader->vertexAttribs & ATTR_TANGENT )
 				{
-					VectorCopy4(tangent, dv->tangent);
+					VectorCopy4(dv->tangent, tangent);
 					tangent += 4;
 				}
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list