enable SDL texture filter for better graphic
This commit is contained in:
parent
fe035d8514
commit
f60d0728f5
|
@ -374,6 +374,8 @@ static bool createRenderer(int width, int height)
|
|||
return false;
|
||||
}
|
||||
|
||||
SDL_SetTextureScaleMode(gSdlTexture, SDL_ScaleModeBest);
|
||||
|
||||
Uint32 format;
|
||||
if (SDL_QueryTexture(gSdlTexture, &format, NULL, NULL, NULL) != 0) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue