forked from enlightenment/efl
parent
e2ccfee75f
commit
383f5a91c7
|
@ -47,8 +47,6 @@ eng_window_new(Display *disp,
|
||||||
XVisualInfo *vi_use;
|
XVisualInfo *vi_use;
|
||||||
const GLubyte *vendor, *renderer, *version;
|
const GLubyte *vendor, *renderer, *version;
|
||||||
|
|
||||||
if (!_evas_gl_x11_vi[screen]) return NULL;
|
|
||||||
|
|
||||||
if (screen >= MAXSCRN)
|
if (screen >= MAXSCRN)
|
||||||
{
|
{
|
||||||
ERR("Screen #%i beyond the maximum # of supported screens (%i)",
|
ERR("Screen #%i beyond the maximum # of supported screens (%i)",
|
||||||
|
@ -56,6 +54,8 @@ eng_window_new(Display *disp,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!_evas_gl_x11_vi[screen]) return NULL;
|
||||||
|
|
||||||
gw = calloc(1, sizeof(Evas_GL_X11_Window));
|
gw = calloc(1, sizeof(Evas_GL_X11_Window));
|
||||||
if (!gw) return NULL;
|
if (!gw) return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue