DXGL r283 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r282‎ | r283 | r284 >
Date:01:09, 14 December 2012
Author:admin
Status:new
Tags:
Comment:
Fix ambient color initialization
Modified paths:
  • /ddraw/glDirect3DDevice.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirect3DDevice.cpp
@@ -123,7 +123,7 @@
124124 0, //colorblendkeyenable
125125 D3DMCS_COLOR1, //diffusematerialsource
126126 D3DMCS_COLOR2, //specularmaterialsource
127 - D3DMCS_COLOR2, //ambientmaterialsource
 127+ D3DMCS_MATERIAL, //ambientmaterialsource
128128 D3DMCS_MATERIAL, //emissivematerialsource
129129 0,0, //150
130130 D3DVBLEND_DISABLE, //vertexblend