diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-04-18 12:08:38 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-04-18 12:08:38 +0200 |
commit | 2b1570de703c32ab43c979c286413a3a1c5e3dc0 (patch) | |
tree | ff5510329a08fd5b3dca88de1c9fc5e36abef1b9 /src/rw/RwHelper.cpp | |
parent | Part one (diff) | |
parent | Zones save/load (diff) | |
download | re3-2b1570de703c32ab43c979c286413a3a1c5e3dc0.tar re3-2b1570de703c32ab43c979c286413a3a1c5e3dc0.tar.gz re3-2b1570de703c32ab43c979c286413a3a1c5e3dc0.tar.bz2 re3-2b1570de703c32ab43c979c286413a3a1c5e3dc0.tar.lz re3-2b1570de703c32ab43c979c286413a3a1c5e3dc0.tar.xz re3-2b1570de703c32ab43c979c286413a3a1c5e3dc0.tar.zst re3-2b1570de703c32ab43c979c286413a3a1c5e3dc0.zip |
Diffstat (limited to 'src/rw/RwHelper.cpp')
-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); |