summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-29 11:36:26 +0100
committeraap <aap@papnet.eu>2020-11-29 11:36:26 +0100
commit52826966993a4d91afcbda44ee2e3c9966f9087d (patch)
treecd362dc2199b4319982ebe28b68a02dced2ca362
parentMerge pull request #841 from aap/master (diff)
downloadre3-52826966993a4d91afcbda44ee2e3c9966f9087d.tar
re3-52826966993a4d91afcbda44ee2e3c9966f9087d.tar.gz
re3-52826966993a4d91afcbda44ee2e3c9966f9087d.tar.bz2
re3-52826966993a4d91afcbda44ee2e3c9966f9087d.tar.lz
re3-52826966993a4d91afcbda44ee2e3c9966f9087d.tar.xz
re3-52826966993a4d91afcbda44ee2e3c9966f9087d.tar.zst
re3-52826966993a4d91afcbda44ee2e3c9966f9087d.zip
-rw-r--r--src/render/Renderer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 83bd0d21..a0f66819 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -216,6 +216,7 @@ CRenderer::RenderOneNonRoad(CEntity *e)
e->Render();
if(e->IsVehicle()){
+ BACKFACE_CULLING_OFF;
e->bImBeingRendered = true;
CVisibilityPlugins::RenderAlphaAtomics();
e->bImBeingRendered = false;