MrSapps / alive

EFFORTS HAVE NOW MOVED TO https://github.com/AliveTeam/alive_reversing Unofficial open source implementation of ALIVE engine that powers Oddworld Abes Oddysee and Oddworld Abes Exoddus.
MIT License
104 stars 9 forks source link

OpenGL version and error checking #33

Closed MrSapps closed 9 years ago

MrSapps commented 9 years ago

Not much error checking at the moment, also don't really know what GL version we should be using. Currently set to 3.1.

While this works on Win7, on Ubuntu on the same hardware "invalid operation" is spammed each frame and only the clear colour is rendered.

MrSapps commented 9 years ago

crafn has added a macro for pre/post checking GL API's in debug builds, issue was actually NanoVG - changed its init to use GL2 instead of GLES2.