Avoid glGetInteger in SDL2_GameWindow