mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +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