mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +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 )
|
if ( tess.shader->vertexAttribs & ATTR_NORMAL )
|
||||||
{
|
{
|
||||||
VectorCopy4(normal, dv->normal);
|
VectorCopy4(dv->normal, normal);
|
||||||
normal += 4;
|
normal += 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_VERT_TANGENT_SPACE
|
#ifdef USE_VERT_TANGENT_SPACE
|
||||||
if ( tess.shader->vertexAttribs & ATTR_TANGENT )
|
if ( tess.shader->vertexAttribs & ATTR_TANGENT )
|
||||||
{
|
{
|
||||||
VectorCopy4(tangent, dv->tangent);
|
VectorCopy4(dv->tangent, tangent);
|
||||||
tangent += 4;
|
tangent += 4;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue