Fix software using linear filter by default
This commit is contained in:
parent
656ad85a8f
commit
2059a99a44
1 changed files with 1 additions and 0 deletions
|
|
@ -295,6 +295,7 @@ static void Impl_VideoSetupSurfaces(int width, int height)
|
|||
{
|
||||
if (texture == NULL)
|
||||
texture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_ABGR8888, SDL_TEXTUREACCESS_STREAMING, width, height);
|
||||
SDL_SetTextureScaleMode(texture, SDL_SCALEMODE_NEAREST);
|
||||
}
|
||||
|
||||
static SDL_FRect src_rect = { 0, 0, 0, 0 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue