wateret / mengde

A turn-based RPG game engine inspired by 三國志曹操傳.
MIT License
27 stars 10 forks source link

[gui] Set priority for `metal` renderer #110

Closed wateret closed 6 years ago

wateret commented 6 years ago

As macOS 10.14 Mojave deprecates opengl, we use metal as primary renderer.

wateret commented 6 years ago

@sjsinju Could you please run with this patch and see if it works?

And please let me know the log for Renderer is look like this:

[INFO] Renderer: metal
sjsinju commented 6 years ago

Wow! It works well :) and the message was also printed. Thank you!

[DEBUG] <app.cc:26 FrameConfig()> FPS CAP : 60
[DEBUG] <app.cc:27 FrameConfig()> SPEED   : 2.000000x
[INFO] Renderer: metal
[DEBUG] <main_view.cc:22 operator()()> Start
....