mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 13:11:53 +00:00
Separate GraphicsContext from Window, prepare for windows and swap chain for multi window
This commit is contained in:
@@ -98,7 +98,8 @@ namespace GlitchyEngine
|
||||
{
|
||||
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