Fix compiler warning
Fixes OpenGL ES 2 renderer (Thanks Sylvain Becker)