Separate GraphicsContext from Window, prepare for windows and swap chain for multi window

This commit is contained in:
Simon Lübeß
2024-09-10 19:07:58 +02:00
parent 65992126c0
commit 352073869f
16 changed files with 99 additions and 130 deletions
@@ -38,8 +38,9 @@ namespace GlitchyEngine
public void Update(GameTime gameTime)
{
Debug.Profiler.ProfileFunction!();
if(Application.Get().Window.IsActive)
// TODO: Don't check the main window instead check the editor view window
if(Application.Instance.MainWindow.IsActive)
{
float3 movement = .();