TheCherno / Hazel

Hazel Engine
Apache License 2.0
11.76k stars 1.51k forks source link

MacOS Support #667

Open prodskimaya opened 8 months ago

prodskimaya commented 8 months ago

I have seen a handful of issues opened here regarding MacOS support, but most are years old and closed. Has there been any steps toward supporting MacOS yet? If not, how can we take the first few steps to do so?

VagueLobster commented 8 months ago

Nope there hasn't and it's unknown when there'll be! Also if you want to support MacOS you cannot do it currently because Hazel uses OpenGL 4.5 and MacOS only supports OpenGL up to 4.1, so it's currently impossible for Hazel to support MacOS until Yan switches the renderer to use Vulkan instead.

prodskimaya commented 8 months ago

I just looked in the glad.c file in Hazel, and you're right as it's a version of OpenGL that isn't supported on MacOS. Downgrading the version of OpenGL the engine uses may work but it wouldn't be worth it in the long run. Waiting would probably be the best course of action :(

prodskimaya commented 8 months ago

I'll mess with it and report back.

Xhendos commented 6 months ago

I'll mess with it and report back.

Have you messed with it ever since?

prodskimaya commented 6 months ago

Have you messed with it ever since?

Only a little bit, some personal things got in the way and I forgot about tinkering it further. Thankfully you reminded me.

From what I remember I mostly had trouble configuring the engine to find Vulkan header files on my machine, and I never got to the point of downgrading GLAD.

The route I was going to try from there was cloning an older version of Hazel before Vulkan was implemented and working on that.