forked from enlightenment/efl
Ecore_Wayland: Remove image_target_texture_2d (not used and requires
GL header which causes issues for E17 wayland only). SVN revision: 68582
This commit is contained in:
parent
37efb6c4db
commit
9c97695b5a
|
@ -1,10 +1,11 @@
|
||||||
#ifndef _ECORE_WAYLAND_H_
|
#ifndef _ECORE_WAYLAND_H_
|
||||||
# define _ECORE_WAYLAND_H_
|
# define _ECORE_WAYLAND_H_
|
||||||
|
|
||||||
|
# define GL_GLEXT_PROTOTYPES
|
||||||
|
|
||||||
# include <Eina.h>
|
# include <Eina.h>
|
||||||
# include <wayland-client.h>
|
# include <wayland-client.h>
|
||||||
# include <wayland-egl.h> // NB: already includes wayland-client.h
|
# include <wayland-egl.h> // NB: already includes wayland-client.h
|
||||||
# include <GL/gl.h>
|
|
||||||
# include <EGL/egl.h>
|
# include <EGL/egl.h>
|
||||||
# include <EGL/eglext.h>
|
# include <EGL/eglext.h>
|
||||||
|
|
||||||
|
@ -92,7 +93,6 @@ struct _Ecore_Wl_Display
|
||||||
|
|
||||||
Ecore_Wl_Output *output;
|
Ecore_Wl_Output *output;
|
||||||
|
|
||||||
PFNGLEGLIMAGETARGETTEXTURE2DOESPROC image_target_texture_2d;
|
|
||||||
PFNEGLCREATEIMAGEKHRPROC create_image;
|
PFNEGLCREATEIMAGEKHRPROC create_image;
|
||||||
PFNEGLDESTROYIMAGEKHRPROC destroy_image;
|
PFNEGLDESTROYIMAGEKHRPROC destroy_image;
|
||||||
|
|
||||||
|
|
|
@ -171,8 +171,6 @@ ecore_wl_init(const char *name)
|
||||||
return --_ecore_wl_init_count;
|
return --_ecore_wl_init_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
_ecore_wl_disp->image_target_texture_2d =
|
|
||||||
(void *)eglGetProcAddress("glEGLImageTargetTexture2DOES");
|
|
||||||
_ecore_wl_disp->create_image =
|
_ecore_wl_disp->create_image =
|
||||||
(void *)eglGetProcAddress("eglCreateImageKHR");
|
(void *)eglGetProcAddress("eglCreateImageKHR");
|
||||||
_ecore_wl_disp->destroy_image =
|
_ecore_wl_disp->destroy_image =
|
||||||
|
|
Loading…
Reference in New Issue