forked from enlightenment/efl
and be paranoid if context createion fials - try again with other direct
options SVN revision: 46168
This commit is contained in:
parent
cee4d504cf
commit
c2431a688d
|
@ -144,6 +144,10 @@ eng_window_new(Display *disp,
|
|||
context = glXCreateContext(disp, gw->visualinfo, NULL, GL_FALSE);
|
||||
else
|
||||
context = glXCreateContext(disp, gw->visualinfo, NULL, GL_TRUE);
|
||||
if (!context)
|
||||
context = glXCreateContext(disp, gw->visualinfo, NULL, GL_TRUE);
|
||||
if (!context)
|
||||
context = glXCreateContext(disp, gw->visualinfo, NULL, GL_FALSE);
|
||||
}
|
||||
gw->context = context;
|
||||
|
||||
|
|
Loading…
Reference in New Issue