Skip to content

Commit

Permalink
Pass editor flag to render context.
Browse files Browse the repository at this point in the history
  • Loading branch information
isadorasophia committed Nov 8, 2024
1 parent ec4878f commit f5bf91d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Murder.Editor/EditorScene_Editors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public CustomEditorInstance(Type t)
{
Editor = (CustomEditor)Activator.CreateInstance(t)!;

SharedRenderContext = Game.Instance.CreateRenderContext(Game.GraphicsDevice, new(320, 240), RenderContextFlags.Debug);
SharedRenderContext = Game.Instance.CreateRenderContext(Game.GraphicsDevice, new(320, 240), RenderContextFlags.Debug | RenderContextFlags.Editor);
SharedRenderContext.RenderToScreen = false;
}

Expand Down

0 comments on commit f5bf91d

Please sign in to comment.