evas gl - comment out unreachable code

fixes CID 1132634
This commit is contained in:
Carsten Haitzler 2014-01-10 18:59:49 +09:00
parent fc7fde97a2
commit 3de45a2c4b
1 changed files with 3 additions and 1 deletions

View File

@ -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