summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-01-05 18:46:21 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-05 18:46:21 +0900
commit8884ce59b33d4681a1f1bd60bc91d0d6adf9348f (patch)
tree0e18dc6d340cdd691aa6749c4b5ac65ac0357b13
parenta7063973819c087a3a6e039e4cbeed13b29a1fd5 (diff)
Evas: Fix compilation for GLX
Sorry, I forgot to check that :)
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index c94ab17756..e88055a5de 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -2206,7 +2206,7 @@ _native_free_cb(void *data, void *image)
2206 } 2206 }
2207 else 2207 else
2208 ERR("Try glXDestroyPixmap on GLX with no support"); 2208 ERR("Try glXDestroyPixmap on GLX with no support");
2209 n->ns_data.x11->surface = 0; 2209 n->ns_data.x11.surface = 0;
2210 } 2210 }
2211# endif 2211# endif
2212#endif 2212#endif
@@ -2738,12 +2738,12 @@ eng_image_native_set(void *data, void *image, void *native)
2738 pixmap_att[i++] = 0; 2738 pixmap_att[i++] = 0;
2739 2739
2740 memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface)); 2740 memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface));
2741 n->ns_data.x11->pixmap = pm; 2741 n->ns_data.x11.pixmap = pm;
2742 n->ns_data.x11->visual = vis; 2742 n->ns_data.x11.visual = vis;
2743 if (glsym_glXCreatePixmap) 2743 if (glsym_glXCreatePixmap)
2744 n->ns_data.x11.surface = (void *)glsym_glXCreatePixmap(eng_get_ob(re)->disp, 2744 n->ns_data.x11.surface = (void *)glsym_glXCreatePixmap(eng_get_ob(re)->disp,
2745 n->ns_data.x11->config, 2745 n->ns_data.x11.config,
2746 n->ns_data.x11->pixmap, 2746 n->ns_data.x11.pixmap,
2747 pixmap_att); 2747 pixmap_att);
2748 else 2748 else
2749 ERR("Try glXCreatePixmap on GLX with no support"); 2749 ERR("Try glXCreatePixmap on GLX with no support");
@@ -2756,7 +2756,7 @@ eng_image_native_set(void *data, void *image, void *native)
2756 ERR("no target :("); 2756 ERR("no target :(");
2757 if (glsym_glXQueryDrawable) 2757 if (glsym_glXQueryDrawable)
2758 glsym_glXQueryDrawable(eng_get_ob(re)->disp, 2758 glsym_glXQueryDrawable(eng_get_ob(re)->disp,
2759 n->ns_data.x11->pixmap, 2759 n->ns_data.x11.pixmap,
2760 GLX_TEXTURE_TARGET_EXT, 2760 GLX_TEXTURE_TARGET_EXT,
2761 &target); 2761 &target);
2762 } 2762 }