project-imprimis / libprimis

Libprimis: Imprimis' 3D destroyable world engine
https://project-imprimis.github.io/libprimis/index.html
Other
29 stars 8 forks source link

Remove deprecated OpenGL usages #234

Open no-lex opened 2 years ago

no-lex commented 2 years ago

The libprimis-headers file glexts.h defines a series of deprecated OpenGL bindings, such as GL_QUADS and GL_ALPHA, that have been deprecated as of OpenGL 3.0. Since libprimis only targets OpenGL 4.0 and higher, it would be a good idea to replace the code using these API features with equivalent modern ones.