Fixed Fullscreen mode + added a method to change the resolution.
This commit is contained in:
parent
261a3be02d
commit
b58e3f72f8
5 changed files with 93 additions and 9 deletions
|
|
@ -91,6 +91,7 @@ namespace SM.Base.Window
|
|||
internal static void Render(IGenericWindow window, float deltatime)
|
||||
{
|
||||
if (window.CurrentScene == null) return;
|
||||
if (window.CurrentRenderPipeline == null) window.SetRenderPipeline(SMRenderer.DefaultRenderPipeline);
|
||||
|
||||
SMRenderer.CurrentFrame++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue