diff options
author | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
commit | 825a3d837a33f226c879cd02ad15c3fba57e8b2c (patch) | |
tree | 75f57bd9c4253508d338dc79ba8e57a7abc42255 /libraries/evas/src/modules/engines/gl_x11/evas_x_main.c | |
parent | Add ability to disable the test harness, or the Lua compile test. (diff) | |
download | SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.zip SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.gz SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.bz2 SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.xz |
Update the EFL to what I'm actually using, coz I'm using some stuff not yet released.
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_x11/evas_x_main.c')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_x11/evas_x_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/evas/src/modules/engines/gl_x11/evas_x_main.c b/libraries/evas/src/modules/engines/gl_x11/evas_x_main.c index 323c976..c29ab67 100644 --- a/libraries/evas/src/modules/engines/gl_x11/evas_x_main.c +++ b/libraries/evas/src/modules/engines/gl_x11/evas_x_main.c | |||
@@ -531,13 +531,13 @@ eng_window_free(Evas_GL_X11_Window *gw) | |||
531 | #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) | 531 | #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) |
532 | if (gw->egl_surface[0] != EGL_NO_SURFACE) | 532 | if (gw->egl_surface[0] != EGL_NO_SURFACE) |
533 | eglDestroySurface(gw->egl_disp, gw->egl_surface[0]); | 533 | eglDestroySurface(gw->egl_disp, gw->egl_surface[0]); |
534 | eglMakeCurrent(gw->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); | ||
534 | if (ref == 0) | 535 | if (ref == 0) |
535 | { | 536 | { |
536 | if (context) eglDestroyContext(gw->egl_disp, context); | 537 | if (context) eglDestroyContext(gw->egl_disp, context); |
537 | eglTerminate(gw->egl_disp); | 538 | eglTerminate(gw->egl_disp); |
538 | context = EGL_NO_CONTEXT; | 539 | context = EGL_NO_CONTEXT; |
539 | } | 540 | } |
540 | eglMakeCurrent(gw->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); | ||
541 | #else | 541 | #else |
542 | if (gw->glxwin) glXDestroyWindow(gw->disp, gw->glxwin); | 542 | if (gw->glxwin) glXDestroyWindow(gw->disp, gw->glxwin); |
543 | if (ref == 0) | 543 | if (ref == 0) |