How to Run an OpenGL project on a Mac M1


The Problem

Developing with OpenGl on a Mac M1 is complicated. OpenGl is supported only up to version 4.1 on Mac M1.

The Solution

After spending several hours researching, I found a simple solution that can save you time and hassle. I've created a GitHub repository with a working template for OpenGL projects on Mac M1.

The only thing you need to do is run `make run` and you'll see a basic use of shaders.

Example of screen with OpenGL
Example of screen with OpenGL