mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-30 17:25:22 +02:00
Making OffsetMap bug look better
This commit is contained in:
parent
8c85cc8c37
commit
9c17d8e5a4
@ -887,6 +887,9 @@ Public Class Level
|
||||
''' Renders offset map entities.
|
||||
''' </summary>
|
||||
Private Sub RenderOffsetMap()
|
||||
Dim state = GraphicsDevice.DepthStencilState
|
||||
GraphicsDevice.DepthStencilState = DepthStencilState.DepthRead
|
||||
|
||||
'Render floors:
|
||||
For i = 0 To Me.OffsetmapFloors.Count - 1
|
||||
If i <= Me.OffsetmapFloors.Count - 1 Then
|
||||
@ -906,6 +909,8 @@ Public Class Level
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
|
||||
GraphicsDevice.DepthStencilState = state
|
||||
End Sub
|
||||
|
||||
''' <summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user