From 3de45a2c4bd062fb3e36f4aae20467e1c18d36e8 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 10 Jan 2014 18:59:49 +0900 Subject: [PATCH] evas gl - comment out unreachable code fixes CID 1132634 --- src/modules/evas/engines/gl_common/evas_gl_context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c b/src/modules/evas/engines/gl_common/evas_gl_context.c index 4f875c5810..5626ce4c86 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_context.c +++ b/src/modules/evas/engines/gl_common/evas_gl_context.c @@ -1226,16 +1226,18 @@ pipe_region_expand(Evas_Engine_GL_Context *gc, int n, } static Eina_Bool -vertex_array_size_check(Evas_Engine_GL_Context *gc, int pn, int n) +vertex_array_size_check(Evas_Engine_GL_Context *gc EINA_UNUSED, int pn EINA_UNUSED, int n EINA_UNUSED) { return 1; // this fixup breaks for expedite test 32. why? +/* for reference if ((gc->pipe[pn].array.num + n) > gc->shared->info.max_vertex_elements) { shader_array_flush(gc); return 0; } return 1; + */ } static inline Evas_GL_Shader