Unlike GLEW libepoxy supports OpenGL ES and better handles cases with
functions provided by different extensions, e.g. the same functions
provided by vendor/EXT/ARB/core.
- 1 copy-paste error
- 1 nullptr dereference
- fixed self-assignment in Mesh::VertexDescription::operator=
- a few missing delete
- all other are checks for nullptr after new
Added code for glewinit so all render modes work in kde
updated makefile includes path to use GL/glew.h
Removed glext from kde and gtk builds
Removed celengine/gl.h from celestia.pro
- Added missing GLEW_STATIC define to VC++ project file
- Fixed Qt4 build to use GLEW
- Stripped out more references to old glext functions
- Fixed miscellaneous compiler warnings.
- Changed int constants to floats so shaders compile on ATI drivers
- Dump error messages to shaders.log along with shader source
- When shader compilation fails, subsitute an error shader that outputs red pixels