DXGL r290 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r289‎ | r290 | r291 >
Date:19:14, 16 December 2012
Author:admin
Status:new
Tags:
Comment:
Fix multi-texture regression in r288
Modified paths:
  • /ddraw/shadergen.cpp (modified) (history)

Diff [purge]

Index: ddraw/shadergen.cpp
@@ -1071,6 +1071,6 @@
10721072 for(int i = 0; i < 8; i++)
10731073 {
10741074 unifkey[3] = i + '0';
1075 - genshaders[index].shader.uniforms[128+i] = glGetUniformLocation(genshaders[index].shader.prog,unifkey);
 1075+ genshaders[index].shader.uniforms[140+i] = glGetUniformLocation(genshaders[index].shader.prog,unifkey);
10761076 }
10771077 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r288Add texture color keys to fragment shader code.admin17:12, 15 December 2012