Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up a OpenGL 4.1 rendering context in OS X Mavericks in c++?

I've got a C++ SFML OpenGL 4.1 rendering engine that I want to port to OS X 10.9 Mavericks. SFML does not seem to support OpenGL 4 (or 3) on OS X. What are my options, if I want to stick to c++ (I would prefer avoiding Obj C) to get a rendering context in OS X?

like image 686
Tuxer Avatar asked Nov 28 '25 16:11

Tuxer


1 Answers

GLFW is an excellent cross-platform framework for window and context creation. It supports OpenGL 3.2+

like image 121
Stephan van den Heuvel Avatar answered Nov 30 '25 05:11

Stephan van den Heuvel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!