Ecore_Wayland: Remove image_target_texture_2d (not used and requires
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 1 Mar 2012 17:25:54 +0000 (17:25 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 1 Mar 2012 17:25:54 +0000 (17:25 +0000)
GL header which causes issues for E17 wayland only).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@68582 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_wayland/Ecore_Wayland.h
src/lib/ecore_wayland/ecore_wl.c

index dcfa477..d032d33 100644 (file)
@@ -1,10 +1,11 @@
 #ifndef _ECORE_WAYLAND_H_
 # define _ECORE_WAYLAND_H_
 
+# define GL_GLEXT_PROTOTYPES
+
 # include <Eina.h>
 # include <wayland-client.h>
 # include <wayland-egl.h> // NB: already includes wayland-client.h
-# include <GL/gl.h>
 # include <EGL/egl.h>
 # include <EGL/eglext.h>
 
@@ -92,7 +93,6 @@ struct _Ecore_Wl_Display
 
    Ecore_Wl_Output *output;
 
-   PFNGLEGLIMAGETARGETTEXTURE2DOESPROC image_target_texture_2d;
    PFNEGLCREATEIMAGEKHRPROC create_image;
    PFNEGLDESTROYIMAGEKHRPROC destroy_image;
 
index a3ad251..4af5d89 100644 (file)
@@ -171,8 +171,6 @@ ecore_wl_init(const char *name)
         return --_ecore_wl_init_count;
      }
 
-   _ecore_wl_disp->image_target_texture_2d = 
-     (void *)eglGetProcAddress("glEGLImageTargetTexture2DOES");
    _ecore_wl_disp->create_image = 
      (void *)eglGetProcAddress("eglCreateImageKHR");
    _ecore_wl_disp->destroy_image =