speed-up from http://gamedev.stackexchange.com/questions/43623/bad-fps-for-smaller-size-opengl-es-with-sdl