aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/d3d/D3dCtx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/d3d/D3dCtx.cpp')
-rw-r--r--src/native/d3d/D3dCtx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/native/d3d/D3dCtx.cpp b/src/native/d3d/D3dCtx.cpp
index dccfd8f..ec01327 100644
--- a/src/native/d3d/D3dCtx.cpp
+++ b/src/native/d3d/D3dCtx.cpp
@@ -623,6 +623,9 @@ else
setViewport();
setDefaultAttributes();
+
+ // Issue 400: initialize local viewer (for lighting) to false
+ pDevice->SetRenderState(D3DRS_LOCALVIEWER, FALSE);
createVertexBuffer();