Added different scaling methods based on screenmode

- All Picasso modes and the menu use linear scaling, all other modes
(PAL/NTSC) use nearest neighbor. #47
- Code cleanup
This commit is contained in:
Dimitris Panokostas 2017-02-02 22:27:51 +01:00
parent a81dd77407
commit ecd66f59c2
11 changed files with 4469 additions and 4605 deletions

View file

@ -666,8 +666,6 @@ static int real_main2 (int argc, TCHAR **argv)
renderer = SDL_CreateRenderer(sdlWindow, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
check_error_sdl(renderer == nullptr, "Unable to create a renderer");
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear"); // make the scaled rendering look smoother.
keyboard_settrans();
if (restart_config[0]) {