Don't allow wrapping on framebuffer textures. Fixes GTA on old NV Shield

This commit is contained in:
Henrik Rydgård committed 2018-03-17 01:54:11 +01:00
1 parent d72d710714
commit 6858c77612
6 files changed
+19 -17

No files matched your search

+2 -1
View File
@@ -120,7 +120,8 @@ UI::EventReturn DevMenu::OnJitCompare(UI::EventParams &e) {
UI::EventReturn DevMenu::OnShaderView(UI::EventParams &e) {
UpdateUIState(UISTATE_PAUSEMENU);
screenManager()->push(new ShaderListScreen());
if (gpu) // Avoid crashing if chosen while the game is being loaded.
screenManager()->push(new ShaderListScreen());
return UI::EVENT_DONE;
}