fix init render by sdl
Merge branch 'master' into windows-build