summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_shade.c
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2013-11-12 19:21:51 -0800
committerTim Angus <tim@ngus.net>2014-06-17 17:43:36 +0100
commit38af27b32b1302fd5ddd83d992fc8ec73209b3ad (patch)
tree0af9a9e571ffd1120d4603bd8d09f092875786e3 /src/renderergl2/tr_shade.c
parent1efea34f7dc0afa21c1ddaa62705c8f4e6b76d9e (diff)
OpenGL2: Calculate bitangent in shader, and store normal/tangent as normalized byte arrays.
Diffstat (limited to 'src/renderergl2/tr_shade.c')
-rw-r--r--src/renderergl2/tr_shade.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/renderergl2/tr_shade.c b/src/renderergl2/tr_shade.c
index a23ae119..95516e9d 100644
--- a/src/renderergl2/tr_shade.c
+++ b/src/renderergl2/tr_shade.c
@@ -1028,7 +1028,6 @@ static unsigned int RB_CalcShaderVertexAttribs( shaderCommands_t *input )
vertexAttribs |= ATTR_NORMAL2;
#ifdef USE_VERT_TANGENT_SPACE
vertexAttribs |= ATTR_TANGENT2;
- vertexAttribs |= ATTR_BITANGENT2;
#endif
}
}