DXGL r230 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r229‎ | r230 | r231 >
Date:00:57, 6 August 2012
Author:admin
Status:new
Tags:
Comment:
Fix color arg. 2 texture
Modified paths:
  • /ddraw/shadergen.cpp (modified) (history)

Diff [purge]

Index: ddraw/shadergen.cpp
@@ -656,7 +656,7 @@
657657 case D3DTA_TEXTURE:
658658 if((texstate[i].shaderid >> 59)&1)
659659 {
660 - arg2 = blendargs[3];
 660+ arg2 = blendargs[2];
661661 arg2.replace(17,1,_itoa(i,idstring,10));
662662 arg2.replace(31,1,_itoa((texstate[i].shaderid>>54)&7,idstring,10));
663663 }