Skip to content

Commit

Permalink
xrRender/blenders/Blender_detail_still.cpp: fixed few typos and flaws
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Apr 27, 2023
1 parent 96f920a commit c6fd76e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Layers/xrRender/blenders/Blender_detail_still.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ void CBlender_Detail_Still::CompileFFP(CBlender_Compile& C) const
switch (C.iElement)
{
case SE_R1_NORMAL_HQ:
case SE_R1_NORMAL_LQ:
{
C.PassBegin();
{
Expand All @@ -75,8 +76,8 @@ void CBlender_Detail_Still::CompileFFP(CBlender_Compile& C) const

switch (C.iElement)
{
case 0: C.PassSET_Shaders("detail_wave", "null"); break;
case 1: C.PassSET_Shaders("detail_still", "null"); break;
case SE_R1_NORMAL_HQ: C.PassSET_Shaders("detail_wave", "null"); break;
case SE_R1_NORMAL_LQ: C.PassSET_Shaders("detail_still", "null"); break;
}

// Stage1 - Base texture
Expand Down Expand Up @@ -109,10 +110,8 @@ void CBlender_Detail_Still::CompileFFP(CBlender_Compile& C) const
C.StageEnd();
}
C.PassEnd();
}

default:
break;
}
} // switch (C.iElement)
}
}
Expand Down

1 comment on commit c6fd76e

@Xottab-DUTY
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.