Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.82k stars 821 forks source link

OpenGL error at macOS 12.2.1 (M1) #1104

Open caraiz opened 1 year ago

caraiz commented 1 year ago

The app generates an error trying to use starling (maybe at context create?).

Tested with airsdk 33.1.1.533 and 33.1.1.935. On windows and macOS (intel) is working fine.

-[NSOpenGLContext setView:] must be called from the main thread.

I attach log file.

log.txt

PrimaryFeather commented 1 year ago

Hm! To be honest, this sounds like something we should report to Harman / the AIR team instead. Unfortunately, I don't have an Apple Silicon Mac yet, so I must admit I haven't been able to test compatibility.

Here's the most basic Stage3D example possible: https://gist.github.com/PrimaryFeather/a04017ed6b7816c0349426e1354a0cac

Could you check if that runs on your M1 Mac?

Thanks in advance!

PrimaryFeather commented 1 year ago

Ah, I see you've already reported this to Harman – perfect. From what I see, that minimal sample should run on an M1 Mac – nevertheless, maybe you can try it out, just to be sure.