fix texture leak

pull/1/head
cosmonaut 2020-08-26 13:24:01 -07:00
parent 7d05840277
commit 737cb68f8d
1 changed files with 0 additions and 3 deletions

View File

@ -94,9 +94,6 @@ namespace Kav
SpriteBatch = new SpriteBatch(GraphicsDevice);
Texture2D whitePixel = new Texture2D(GraphicsDevice, 1, 1);
whitePixel.SetData(new[] { Color.White });
GraphicsDevice.SetRenderTarget(deferredRenderTarget);
graphicsDevice.Clear(Color.White);
GraphicsDevice.SetRenderTarget(null);