mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 08:36:19 -05:00
Removed anisotropic option from SDL_HINT_RENDER_SCALE_QUALITY.
Anisotropic filtering is meant to be used for textures at a stark angle, not perpendicular to the camera.
This commit is contained in:
@@ -864,10 +864,8 @@ GetScaleQuality(void)
|
||||
|
||||
if (!hint || *hint == '0' || SDL_strcasecmp(hint, "nearest") == 0) {
|
||||
return D3DTEXF_POINT;
|
||||
} else if (*hint == '1' || SDL_strcasecmp(hint, "linear") == 0) {
|
||||
} else /*if (*hint == '1' || SDL_strcasecmp(hint, "linear") == 0)*/ {
|
||||
return D3DTEXF_LINEAR;
|
||||
} else {
|
||||
return D3DTEXF_ANISOTROPIC;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user