Fixed a GCC warning
Merge branch 'gl_get_error'