devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=54e913a0256893911a85649a4e11443af32060cf

commit 54e913a0256893911a85649a4e11443af32060cf
Author: Chris Michael <[email protected]>
Date:   Mon Aug 11 11:28:04 2014 -0400

    wayland-egl: Fix eng_window_new function prototype
    
    We need to pass in the canvas and engine info structure as the
    gl_generic engine needs the outbuf->canvas to be set.
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/wayland_egl/evas_engine.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.h 
b/src/modules/evas/engines/wayland_egl/evas_engine.h
index 165ff75..68d8a1f 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.h
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.h
@@ -104,7 +104,7 @@ extern Evas_GL_Preload_Render_Call 
glsym_evas_gl_preload_render_unlock;
 
 extern unsigned int (*glsym_eglSwapBuffersWithDamage) (EGLDisplay a, void *b, 
const EGLint *d, EGLint c);
 
-Outbuf *eng_window_new(struct wl_display *disp, struct wl_surface *surface, 
int screen, int depth, int w, int h, int indirect, int alpha, int rot, 
Render_Engine_Swap_Mode swap_mode);
+Outbuf *eng_window_new(Evas *evas, Evas_Engine_Info_Wayland_Egl *einfo, int w, 
int h, Render_Engine_Swap_Mode swap_mode);
 void eng_window_free(Outbuf *gw);
 void eng_window_use(Outbuf *gw);
 void eng_window_unsurf(Outbuf *gw);

-- 


Reply via email to