renderGL: settings to change stencil and buffer si
This commit is contained in:
parent
45783e7797
commit
c690c681c5
5 changed files with 23 additions and 1 deletions
|
|
@ -6854,7 +6854,7 @@ bool FurnaceGUI::init() {
|
|||
if (sdlWin==NULL) {
|
||||
const char* sdlErr=SDL_GetError();
|
||||
lastError=fmt::sprintf("could not open window! %s",sdlErr);
|
||||
if (settings.renderBackend!="Software" && strcmp(sdlErr,"No matching GL pixel format available")==0) {
|
||||
if (settings.renderBackend!="Software" && strstr(sdlErr,"matching")!=NULL) {
|
||||
settings.renderBackend="Software";
|
||||
e->setConf("renderBackend","Software");
|
||||
e->saveConf();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue