Our great sponsors
-
LearnOpenGL
Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
OpenGL-4.6-Hello-Triangle
The famous OpenGL "Hello triangle" using shaders. It uses the OpenGL 4.5 functionality called Direct State Access.
I suggest you either run your code, or follow a legitimate source like https://learnopengl.com/, rather than reading through guides and asking questions about code before you've even tried running it.
an alternative way would be DSA. Have a look here: https://github.com/fendevel/Guide-to-Modern-OpenGL-Functions and example code here https://github.com/Fr3nchK1ss/OpenGL-4.6-Hello-Triangle
an alternative way would be DSA. Have a look here: https://github.com/fendevel/Guide-to-Modern-OpenGL-Functions and example code here https://github.com/Fr3nchK1ss/OpenGL-4.6-Hello-Triangle