Merge f60d0728f5
into 9fb917c357
This commit is contained in:
commit
c25f2a0f61
|
@ -374,6 +374,8 @@ static bool createRenderer(int width, int height)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SDL_SetTextureScaleMode(gSdlTexture, SDL_ScaleModeBest);
|
||||||
|
|
||||||
Uint32 format;
|
Uint32 format;
|
||||||
if (SDL_QueryTexture(gSdlTexture, &format, nullptr, nullptr, nullptr) != 0) {
|
if (SDL_QueryTexture(gSdlTexture, &format, nullptr, nullptr, nullptr) != 0) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue