From ec3779988cadcc54bdbcfd4e64099b82c1f6b81a Mon Sep 17 00:00:00 2001 From: SmileTheory Date: Sun, 11 Sep 2016 16:08:18 -0700 Subject: [PATCH] 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 c19410cf..063f4b14 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