mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Removed deprecated Application.Get()
This commit is contained in:
@@ -139,7 +139,7 @@ namespace GlitchyEditor
|
||||
_componentEditWindow = new ComponentEditWindow();
|
||||
_contentBrowserWindow = new ContentBrowserWindow(this, (.)Application.Instance.ContentManager, _thumbnailManager);
|
||||
_inspectorWindow = new InspectorWindow(this);
|
||||
_assetViewer = new AssetViewer((.)Application.Get().ContentManager);
|
||||
_assetViewer = new AssetViewer((.)Application.Instance.ContentManager);
|
||||
_logWindow = new LogWindow();
|
||||
_settingsWindow = new SettingsWindow();
|
||||
}
|
||||
|
||||
@@ -295,7 +295,7 @@ namespace GlitchyEditor
|
||||
|
||||
private void InitGraphics()
|
||||
{
|
||||
_context = Application.Get().Window.Context..AddRef();
|
||||
_context = Application.Instance.Window.Context..AddRef();
|
||||
|
||||
RasterizerStateDescription rsDesc = .(.Solid, .Back, true);
|
||||
_rasterizerState = new RasterizerState(rsDesc);
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace GlitchyEditor.ImGui
|
||||
}
|
||||
|
||||
#if BF_PLATFORM_WINDOWS
|
||||
ImGuiImplWin32.Init(Application.Get().Window.NativeWindow);
|
||||
ImGuiImplWin32.Init(Application.Instance.Window.NativeWindow);
|
||||
#endif
|
||||
|
||||
#if GE_GRAPHICS_DX11
|
||||
|
||||
Reference in New Issue
Block a user