Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS compatibility issues #6

Open
Ermelber opened this issue May 13, 2024 · 0 comments
Open

MacOS compatibility issues #6

Ermelber opened this issue May 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Ermelber
Copy link
Member

Problem

You cannot load courses in MKTB under MacOS for some reason related to the main window's width and height preventing the proper creation of the GL framebuffer.
Furthermore, having a different retina scales causes more issues such as not being able to click items correctly and other scaling mismatches.

Error info

   at HaroohiePals.Gui.Viewport.Framebuffers.GLCompleteFramebuffer..ctor(GLFramebufferDefinition definition, Int32 width, Int32 height)
   at HaroohiePals.Gui.Viewport.Framebuffers.TestGLFramebufferProvider.CreateFboMulti(Vector2i size)
   at HaroohiePals.Gui.Viewport.Framebuffers.TestGLFramebufferProvider.BeginRendering(Int32 width, Int32 height)
   at HaroohiePals.Gui.Viewport.ViewportPanel.DrawGL()
   at HaroohiePals.Gui.Viewport.ViewportPanel.Draw()
   at HaroohiePals.MarioKartToolbox.Gui.View.CourseEditor.CameraPreviewView.Draw()
   at HaroohiePals.MarioKartToolbox.Gui.View.CourseEditor.CourseEditorContentView.<>c.<Draw>b__28_0(IView x)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at HaroohiePals.MarioKartToolbox.Gui.View.CourseEditor.CourseEditorContentView.Draw()
   at HaroohiePals.Gui.ImGuiViewWindow.RenderLayout(FrameEventArgs args)
   at HaroohiePals.Gui.ImGuiGameWindow.OnRenderFrame(FrameEventArgs args)
   at OpenTK.Windowing.Desktop.GameWindow.DispatchRenderFrame()
   at OpenTK.Windowing.Desktop.GameWindow.Run()
   at HaroohiePals.MarioKartToolbox.Program.Main(String[] args)
Abort trap: 6
@Ermelber Ermelber added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant