mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Separate GraphicsContext from Window, prepare for windows and swap chain for multi window
This commit is contained in:
@@ -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 = .();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user