Change texture filtering without restarting. (#67)

This commit is contained in:
MaikelChan authored and GitHub committed 2021-10-25 06:42:36 +03:00
1 parent 5789492021
commit 34cb964ea5
3 files changed
+23 -12

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@
#include "fullscrn.h"
#include "midi.h"
#include "render.h"
#include "Sound.h"
#include "winmain.h"
@@ -246,7 +247,7 @@ void options::toggle(Menu1 uIDCheckItem)
break;
case Menu1::WindowLinearFilter:
Options.LinearFiltering ^= true;
winmain::Restart();
render::recreate_screen_texture();
break;
default:
break;