zacharycarter / zengine

2D | 3D Game development library
157 stars 13 forks source link

Target OpenGL Version #10

Closed define-private-public closed 6 years ago

define-private-public commented 6 years ago

I've noticed that the OpenGL version and GLSL versions are kind of all over the place in this repo. I think for now it would be best to stick to one main target and keep it. I think that OpenGL 3.3 and GLSL 3.3 would be the best to target, since it's forward compatible with OpenGL 4.x and GLSL 4.x, drops a lot of deprecated code, and still fairly feature rich (no tessellation shaders though).

Many devices today support OpenGL 4.x, but there are still some older ones (such as my five year old laptop) that only go up to OpenGL 3.3. What do you think?

define-private-public commented 6 years ago

This pull request should do it if you want to press the button:

https://github.com/zacharycarter/zengine/pull/11