gl: fix type mismatch in Qt4 with GLfloat. issue169