Set gl_size from window size, not gl context
Made sdl2 resize window on _size change
Fixed typo in function name
Merge pull request #2520 from inclement/init_sdl2_size

Resize sdl2 windows properly