evas_gl_cocoa: add parameter for context_resize to fix build break 95/78795/1
authorThiep Ha <thiep.ha@samsung.com>
Thu, 7 Jul 2016 02:05:29 +0000 (11:05 +0900)
committerThiep Ha <thiep.ha@samsung.com>
Thu, 7 Jul 2016 02:05:29 +0000 (11:05 +0900)
The evas_gl_common_context_resize API is changed but
it is not updated for gl_cocoa engine.
This patch updates it to fix build break.
@tizen_fix

Change-Id: Iee6c6d326a8479cc714e4ee21cd2fb14abaaa1b8
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
src/modules/evas/engines/gl_cocoa/evas_engine.c

index 68a29d3..817b598 100644 (file)
@@ -177,7 +177,7 @@ eng_output_redraws_rect_add(void *data, int x, int y, int w, int h)
    DBG("Redraw rect %d %d %d %d", x, y, w, h);
    re = (Render_Engine *)data;
    eng_window_lock_focus(re->win);
-   evas_gl_common_context_resize(re->win->gl_context, re->win->width, re->win->height, 0);
+   evas_gl_common_context_resize(re->win->gl_context, re->win->width, re->win->height, 0, 1);
    /* simple bounding box */
    RECTS_CLIP_TO_RECT(x, y, w, h, 0, 0, re->win->width, re->win->height);
    if ((w <= 0) || (h <= 0)) return;