mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Fall back to software transform when hardware transform fails. Should help Mali devices.
This is done per shader so the speed hit should not be as bad as turning hw transform off entirely. Displays a red error at the top of the screen so that we don't trigger this accidentally.
This commit is contained in:
1 parent
85d075db53
commit
e7097ca95a
8 files changed
+91
-57
No files matched your search
@@ -36,8 +36,14 @@ restart:
|
||||
}
|
||||
}
|
||||
|
||||
void OnScreenMessages::Show(const std::string &message, float duration_s, uint32_t color, int icon) {
|
||||
void OnScreenMessages::Show(const std::string &message, float duration_s, uint32_t color, int icon, bool checkUnique) {
|
||||
std::lock_guard<std::recursive_mutex> guard(mutex_);
|
||||
if (checkUnique) {
|
||||
for (auto iter = messages_.begin(); iter != messages_.end(); ++iter) {
|
||||
if (iter->text == message)
|
||||
return;
|
||||
}
|
||||
}
|
||||
double now = time_now_d();
|
||||
Message msg;
|
||||
msg.text = message;
|
||||
|
||||
Reference in new issue
Block a user