apply anti-aliasing where available and appropriate

This commit is contained in:
David Ludwig 2017-08-14 14:41:04 -04:00
parent 0e5ce49f46
commit 9116cae283
1 changed files with 2 additions and 1 deletions

View File

@ -791,7 +791,8 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags
return NULL;
}
}
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
if (SDL_RenderSetLogicalSize(sdl_renderer, width, height) != 0) {
printf("ERROR: Unable to set SDL rendeer's logical size (to %dx%d): %s\n",
width, height, SDL_GetError());