summaryrefslogtreecommitdiff
path: root/src
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 /src
parentc57fee38caed4cc770aa8e57b74672ca85aa0fa3 (diff)
fix backface culling on vehicles
Diffstat (limited to 'src')
-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;