Show a warning message on game start if Chainfire3D is installed.

This commit is contained in:
Henrik Rydgard committed 2013-09-17 10:27:42 +02:00
1 parent 53c6149152
commit fce5067279
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -117,6 +117,11 @@ void EmuScreen::bootGame(const std::string &filename) {
}
#endif
memset(virtKeys, 0, sizeof(virtKeys));
const char *renderer = (const char*)glGetString(GL_RENDERER);
if (strstr(renderer, "Chainfire3D") != 0) {
osm.Show("WARNING: Chainfire3D detected, may cause problems", 10.0f, 0xFF30a0FF, -1, true);
}
}
EmuScreen::~EmuScreen() {