Remove use of GL* constants and types inside the codebase. There is still a few occurence to get rid of.