Fix the overworld rendering when inventory is opened.
This commit is contained in:
parent
4d5173fab4
commit
fb368e0f2d
|
@ -139,7 +139,7 @@ Public Class NewInventoryScreen
|
|||
Public Sub New(ByVal currentScreen As Screen, ByVal AllowedPages As Integer(), ByVal StartPageIndex As Integer, ByVal DoStuff As DoStuff, Optional ByVal AllowedItems As List(Of String) = Nothing, Optional ByVal DoReturnItem As Boolean = False)
|
||||
|
||||
SelectedItem = "-1"
|
||||
_preScreenTarget = New RenderTarget2D(GraphicsDevice, windowSize.Width, windowSize.Height)
|
||||
_preScreenTarget = New RenderTarget2D(GraphicsDevice, windowSize.Width, windowSize.Height, False, SurfaceFormat.Color, DepthFormat.Depth24Stencil8)
|
||||
_blur = New Resources.Blur.BlurHandler(windowSize.Width, windowSize.Height)
|
||||
|
||||
If AllowedPages.Contains(StartPageIndex) = False Then
|
||||
|
|
Loading…
Reference in New Issue