Skip to content

Commit 2ab25f9

Browse files
authored
[GEN][ZH] Fix wrong returned name for D3DTSS_TEXTURETRANSFORMFLAGS in DX8Wrapper::Get_DX8_Texture_Stage_State_Value_Name() (#1165)
1 parent ff9ce13 commit 2ab25f9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Generals/Code/Libraries/Source/WWVegas/WW3D2/dx8wrapper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3398,6 +3398,7 @@ void DX8Wrapper::Get_DX8_Texture_Stage_State_Value_Name(StringClass& name, D3DTE
33983398

33993399
case D3DTSS_TEXTURETRANSFORMFLAGS:
34003400
name=Get_DX8_Texture_Transform_Flag_Name(value);
3401+
break;
34013402

34023403
// Floating point values
34033404
case D3DTSS_MIPMAPLODBIAS:

GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/dx8wrapper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4183,6 +4183,7 @@ void DX8Wrapper::Get_DX8_Texture_Stage_State_Value_Name(StringClass& name, D3DTE
41834183

41844184
case D3DTSS_TEXTURETRANSFORMFLAGS:
41854185
name=Get_DX8_Texture_Transform_Flag_Name(value);
4186+
break;
41864187

41874188
// Floating point values
41884189
case D3DTSS_MIPMAPLODBIAS:

0 commit comments

Comments
 (0)