[EvasGL] Fix build error for PreRotation
authorWonsik, Jung <sidein@samsung.com>
Tue, 20 Dec 2016 05:18:59 +0000 (14:18 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 07:27:03 +0000 (16:27 +0900)
Fix build error for PreRotation

Change-Id: I41d848a730621ec2e67d33185b3d4cf6a56ba993

src/modules/evas/engines/wayland_egl/evas_engine.c
src/modules/evas/engines/wayland_egl/evas_engine.h

index f776b32..52787b4 100644 (file)
@@ -334,7 +334,7 @@ _re_winfree(Render_Engine *re)
 static void
 _evas_native_win_pre_rotation_set(struct wl_egl_window *win, int angle)
 {
-    wl_egl_window_rotation rot;
+    evas_wl_egl_window_rotation rot;
     if (!win) return;
     if (!glsym_wl_egl_win_set_rotation)
       {
index 3544557..2d19cb9 100755 (executable)
@@ -175,7 +175,7 @@ typedef enum {
 
 //TIZEN_ONLY(20161121) : Support PreRotation
 typedef int (*wl_egl_win_get_capabilities) (struct wl_egl_window *egl_window);
-typedef void (*wl_egl_win_set_rotation) (struct wl_egl_window *egl_window, wl_egl_window_rotation rotation);
+typedef void (*wl_egl_win_set_rotation) (struct wl_egl_window *egl_window, int rotation);
 
 extern wl_egl_win_get_capabilities glsym_wl_egl_win_get_capabilities;
 extern wl_egl_win_set_rotation glsym_wl_egl_win_set_rotation;