Fixed SDL_ScaleMode values for consistency
This commit is contained in:
parent
e5edce8e75
commit
14a4ce8b59
21 changed files with 70 additions and 47 deletions
|
@ -542,7 +542,7 @@ static int TextureShouldSwizzle(PSP_TextureData *psp_texture, SDL_Texture *textu
|
|||
static void TextureActivate(SDL_Texture *texture)
|
||||
{
|
||||
PSP_TextureData *psp_texture = (PSP_TextureData *)texture->driverdata;
|
||||
int scaleMode = (texture->scaleMode == SDL_ScaleModeNearest) ? GU_NEAREST : GU_LINEAR;
|
||||
int scaleMode = (texture->scaleMode == SDL_SCALEMODE_NEAREST) ? GU_NEAREST : GU_LINEAR;
|
||||
|
||||
/* Swizzling is useless with small textures. */
|
||||
if (TextureShouldSwizzle(psp_texture, texture)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue