Fix various compiler warnings.
Merge branch 'opengl' of https://github.com/Paul-Wortmann/flare-engine-next