1
0

Burningvideo: fix "Old HW Compatible blending" TextureLightMap2_Add

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6111 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
engineer_apple
2020-05-30 13:58:37 +00:00
parent 13a232aa9b
commit 2d67c2d92c
3 changed files with 7 additions and 4 deletions

View File

@@ -495,10 +495,12 @@ inline tFixPoint s32_to_fixPoint (const s32 x)
return x << FIX_POINT_PRE;
}
#if 0
inline tFixPointu u32_to_fixPoint (const u32 x)
{
return x << FIX_POINT_PRE;
}
#endif
inline u32 fixPointu_to_u32 (const tFixPointu x)
{
@@ -641,13 +643,13 @@ REALINLINE tFixPoint saturateFix ( const tFixPoint a)
}
#if 0
// rount fixpoint to int
inline s32 roundFix ( const tFixPoint x )
{
return (s32)(( x + FIX_POINT_ZERO_DOT_FIVE ) >> FIX_POINT_PRE);
}
#endif
// x in [0;1[
#if 0