Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Commit

Permalink
[Toolkit.Graphics] Fixed github issue #95
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtiomCiumac committed Jun 27, 2013
1 parent 6b25cdd commit 18b506c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ internal override GraphicsPresenter CreateGraphicsPresenter(GraphicsDevice devic
if (presenter != null)
RemoveAndDispose(ref presenter);

presenter = ToDispose(new RenderTargetGraphicsPresenter(device, backbufferDesc, DepthFormat.None, false, true));
presenter = ToDispose(new RenderTargetGraphicsPresenter(device, backbufferDesc, parameters.DepthStencilFormat, false, true));
element.SetBackbuffer(presenter.BackBuffer);
return presenter;
}
Expand Down

0 comments on commit 18b506c

Please sign in to comment.