diff options
author | aap <aap@papnet.eu> | 2020-04-17 23:55:20 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-17 23:55:20 +0200 |
commit | bdf9fa2f01e5dfaa6cd09c1eb1b66fc75a92b208 (patch) | |
tree | f9eb98a64b18d5bbea83c3ae4e22599065ca5f49 /src | |
parent | Merge branch 'master' of github.com:gtamodding/re3 (diff) | |
download | re3-bdf9fa2f01e5dfaa6cd09c1eb1b66fc75a92b208.tar re3-bdf9fa2f01e5dfaa6cd09c1eb1b66fc75a92b208.tar.gz re3-bdf9fa2f01e5dfaa6cd09c1eb1b66fc75a92b208.tar.bz2 re3-bdf9fa2f01e5dfaa6cd09c1eb1b66fc75a92b208.tar.lz re3-bdf9fa2f01e5dfaa6cd09c1eb1b66fc75a92b208.tar.xz re3-bdf9fa2f01e5dfaa6cd09c1eb1b66fc75a92b208.tar.zst re3-bdf9fa2f01e5dfaa6cd09c1eb1b66fc75a92b208.zip |
Diffstat (limited to '')
-rw-r--r-- | src/rw/RwHelper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp index e5c4ceae..acf811ad 100644 --- a/src/rw/RwHelper.cpp +++ b/src/rw/RwHelper.cpp @@ -91,7 +91,8 @@ DefinedState(void) RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE); #ifdef LIBRW - #pragma message (" TODO: alphatest func") + rw::SetRenderState(rw::ALPHATESTFUNC, rw::ALPHAGREATEREQUAL); + rw::SetRenderState(rw::ALPHATESTREF, 3); #else // D3D stuff RwD3D8SetRenderState(D3DRS_ALPHAFUNC, D3DCMP_GREATER); |