Merge branch 'ui' of https://github.com/progtime-net/DangerousD into ui
This commit is contained in:
commit
7ea6e46775
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,7 @@ namespace DangerousD.GameCore
|
|||
{
|
||||
GraphicsDevice.Clear(Color.CornflowerBlue);
|
||||
|
||||
GraphicsDevice.SetRenderTarget(renderTarget);
|
||||
GraphicsDevice.SetRenderTarget(renderTarget);
|
||||
switch (gameState)
|
||||
{
|
||||
case GameState.Menu:
|
||||
|
@ -147,6 +147,7 @@ namespace DangerousD.GameCore
|
|||
_spriteBatch.Draw(renderTarget, new Rectangle(0,0, _graphics.PreferredBackBufferWidth, _graphics.PreferredBackBufferHeight), Color.White);
|
||||
_spriteBatch.End();
|
||||
|
||||
|
||||
base.Draw(gameTime);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue