Fixed warning got with clang. gl_save_state need to be reworked.