From: Jean-Philippe Andre Date: Mon, 8 Aug 2016 06:15:54 +0000 (+0900) Subject: evas: Mark native_surface as const X-Git-Tag: upstream/1.20.0~4890 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f06506c970c26d1602f0958481889efccee681cc;p=platform%2Fupstream%2Fefl.git evas: Mark native_surface as const The void* argument should be considered read-only. This doesn't change anything, really. --- diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c index f5d783d..ddf1be6 100644 --- a/src/modules/evas/engines/gl_x11/evas_engine.c +++ b/src/modules/evas/engines/gl_x11/evas_engine.c @@ -2366,7 +2366,7 @@ static void * eng_image_native_set(void *data, void *image, void *native) { Render_Engine *re = (Render_Engine *)data; - Evas_Native_Surface *ns = native; + const Evas_Native_Surface *ns = native; Evas_GL_Image *im = image, *im2 = NULL; Visual *vis = NULL; Pixmap pm = 0;