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:
Henrik Rydgard committed 2013-06-06 10:09:37 +02:00
1 parent 85d075db53
commit e7097ca95a
8 files changed
+91 -57

No files matched your search

+1
View File
@@ -594,6 +594,7 @@ void FramebufferManager::SetDisplayFramebuffer(u32 framebuf, u32 stride, int for
displayStride_ = stride;
displayFormat_ = format;
} else {
ramDisplayFramebufPtr_ = 0;
displayFramebufPtr_ = framebuf;
displayStride_ = stride;
displayFormat_ = format;