forked from Ports/perfect_dark
Don't perform a filter mode change if the new mode is the same as the previous one.
This commit is contained in:
1 file changed
+1
@@ -218,6 +218,7 @@ void videoSetMaximizeWindow(s32 fs)
|
||||
void videoSetTextureFilter(u32 filter)
|
||||
{
|
||||
if (filter > FILTER_THREE_POINT) filter = FILTER_THREE_POINT;
|
||||
if (texFilter == filter) return;
|
||||
texFilter = filter;
|
||||
gfx_set_texture_filter((enum FilteringMode)filter);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user