summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_x11/evas_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_x11/evas_engine.c')
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index 31b5fa5abe..1447c53e7d 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -646,6 +646,7 @@ evgl_eng_pbuffer_surface_create(void *data, EVGL_Surface *sfc,
646 WRN("This PBuffer implementation does not support extra attributes yet"); 646 WRN("This PBuffer implementation does not support extra attributes yet");
647 647
648#ifdef GL_GLES 648#ifdef GL_GLES
649 Evas_Engine_GL_Context *evasglctx;
649 int config_attrs[20]; 650 int config_attrs[20];
650 int surface_attrs[20]; 651 int surface_attrs[20];
651 EGLSurface egl_sfc; 652 EGLSurface egl_sfc;
@@ -655,7 +656,8 @@ evgl_eng_pbuffer_surface_create(void *data, EVGL_Surface *sfc,
655 EGLContext ctx; 656 EGLContext ctx;
656 657
657 disp = re->window_egl_display_get(re->software.ob); 658 disp = re->window_egl_display_get(re->software.ob);
658 ctx = re->window_gl_context_get(re->software.ob); 659 evasglctx = re->window_gl_context_get(re->software.ob);
660 ctx = evasglctx->eglctxt;
659 661
660#if 0 662#if 0
661 // Choose framebuffer configuration 663 // Choose framebuffer configuration