Fix for building without setting the opengl=es option.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-03-14 14:50:23 +00:00
parent 49887271d2
commit cac7a4dad8
1 changed files with 2 additions and 0 deletions

View File

@ -163,7 +163,9 @@ eng_window_new(struct wl_display *disp, struct wl_surface *surface, int screen,
eng_window_free(gw);
return NULL;
}
#ifdef GL_GLES
gw->gl_context->egldisp = gw->egl_disp;
#endif
eng_window_use(gw);
evas_gl_common_context_resize(gw->gl_context, w, h, rot);
gw->surf = 1;