summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_shade.c
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2014-10-23 16:51:10 -0700
committerTim Angus <tim@ngus.net>2015-03-17 11:38:54 +0000
commit5b2ae40e135fda8ecba622ce1fe8b75087abca51 (patch)
treee6da3e2b86e1dd396026ec320a6987d794d99ce2 /src/renderergl2/tr_shade.c
parentc95e4d4b9ac8a6e944f584563a0ba1a5de636cab (diff)
OpenGL2: Fix corrupt models.
Diffstat (limited to 'src/renderergl2/tr_shade.c')
-rw-r--r--src/renderergl2/tr_shade.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/renderergl2/tr_shade.c b/src/renderergl2/tr_shade.c
index 5752c4ff..f5778ea0 100644
--- a/src/renderergl2/tr_shade.c
+++ b/src/renderergl2/tr_shade.c
@@ -1540,12 +1540,6 @@ void RB_StageIteratorGeneric( void )
}
//
- // Set vertex attribs and pointers
- //
- if (glState.vertexAnimation)
- GLSL_VertexAttribPointers(vertexAttribs & (ATTR_POSITION | ATTR_POSITION2 | ATTR_NORMAL | ATTR_NORMAL2 | ATTR_TANGENT | ATTR_TANGENT2));
-
- //
// render depth if in depthfill mode
//
if (backEnd.depthFill)