Skip to content

Commit

Permalink
Pass a dummy color attribute to the lightmapping shader.
Browse files Browse the repository at this point in the history
May work around a catalyst bug. Or not.
  • Loading branch information
gimhael committed Sep 11, 2014
1 parent 41eec01 commit a4b42fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/renderer/gl_shader.cpp
Expand Up @@ -1116,7 +1116,7 @@ void GLShader_generic::SetShaderProgramUniforms( shaderProgram_t *shaderProgram
}

GLShader_lightMapping::GLShader_lightMapping( GLShaderManager *manager ) :
GLShader( "lightMapping", ATTR_POSITION | ATTR_TEXCOORD | ATTR_QTANGENT, manager ),
GLShader( "lightMapping", ATTR_POSITION | ATTR_TEXCOORD | ATTR_QTANGENT | ATTR_COLOR, manager ),
u_DiffuseTextureMatrix( this ),
u_NormalTextureMatrix( this ),
u_SpecularTextureMatrix( this ),
Expand Down

0 comments on commit a4b42fd

Please sign in to comment.