ctreffs / SwiftImGui

Swift wrapper around Dear imgui for macOS, iOS, Linux and Windows
MIT License
147 stars 17 forks source link

What is the expected behaviour of the minimal demo? #26

Open ebak opened 2 months ago

ebak commented 2 months ago

I have just tried it out on Linux. There is not any graphical output, no window is popped up.

There is just a console output:

NewFrame() 0
NewFrame() 1
NewFrame() 2
NewFrame() 3
NewFrame() 4
NewFrame() 5
NewFrame() 6
NewFrame() 7
NewFrame() 8
NewFrame() 9
NewFrame() 10
NewFrame() 11
NewFrame() 12
NewFrame() 13
NewFrame() 14
NewFrame() 15
NewFrame() 16
NewFrame() 17
NewFrame() 18
NewFrame() 19
DestroyContext()

I have placed a sleep into the main loop in order to be able to catch the window popup.

ghost commented 2 months ago

I've tried it with the minimal demo before too and got the same result. Then I started using the metal demo and it worked (although some blurry fonts). I think the renderer is missing bc you need some kind of rendering implementation to run an Imgui program.