SkyModule clears the target now!
This commit is contained in:
parent
d72a090465
commit
9ad079a83e
@ -205,7 +205,8 @@ namespace TrueCraft.Client
|
|||||||
private void CreateRenderTarget()
|
private void CreateRenderTarget()
|
||||||
{
|
{
|
||||||
RenderTarget = new RenderTarget2D(GraphicsDevice, GraphicsDevice.Viewport.Width, GraphicsDevice.Viewport.Height,
|
RenderTarget = new RenderTarget2D(GraphicsDevice, GraphicsDevice.Viewport.Width, GraphicsDevice.Viewport.Height,
|
||||||
false, GraphicsDevice.PresentationParameters.BackBufferFormat, DepthFormat.Depth24);
|
false, GraphicsDevice.PresentationParameters.BackBufferFormat, DepthFormat.Depth24,
|
||||||
|
0, RenderTargetUsage.PreserveContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandleClientPropertyChanged(object sender, PropertyChangedEventArgs e)
|
void HandleClientPropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||||
|
Reference in New Issue
Block a user