and check extent... FIRST

SVN revision: 57915
This commit is contained in:
Carsten Haitzler 2011-03-20 13:25:27 +00:00
parent e2ccfee75f
commit 383f5a91c7
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,6 @@ eng_window_new(Display *disp,
XVisualInfo *vi_use;
const GLubyte *vendor, *renderer, *version;
if (!_evas_gl_x11_vi[screen]) return NULL;
if (screen >= MAXSCRN)
{
ERR("Screen #%i beyond the maximum # of supported screens (%i)",
@ -56,6 +54,8 @@ eng_window_new(Display *disp,
return NULL;
}
if (!_evas_gl_x11_vi[screen]) return NULL;
gw = calloc(1, sizeof(Evas_GL_X11_Window));
if (!gw) return NULL;