mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 05:31:29 +00:00
OpenGL2: Fix reversed VectorCopy4() usage.
This commit is contained in:
parent
497a74f22a
commit
ec3779988c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue