DXGL r123 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r122‎ | r123 | r124 >
Date:23:53, 11 March 2012
Author:admin
Status:new
Tags:
Comment:
Fix compilation error
Modified paths:
  • /ddraw/glDirect3DDevice.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirect3DDevice.cpp
@@ -990,7 +990,7 @@
991991 case D3DTSS_TEXTURETRANSFORMFLAGS:
992992 if((dwValue & 0xFF) > 4) return DDERR_INVALIDPARAMS;
993993 if((dwValue >> 8) > 1) return DDERR_INVALIDPARAMS;
994 - texstages[dwStage].textransform = dwValue;
 994+ texstages[dwStage].textransform = (D3DTEXTURETRANSFORMFLAGS)dwValue;
995995 texstages[dwStage].dirty = true;
996996 return D3D_OK;
997997 default: