git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51644
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
if (gc->shared) gc->shared->references--;
if (gc->def_surface) evas_gl_common_image_free(gc->def_surface);
if (gc->shared) gc->shared->references--;
if (gc->def_surface) evas_gl_common_image_free(gc->def_surface);
-
- for (i = 0; i < gc->shared->info.pipes_max; i++)
- if (gc->pipe[i].array.vertex) free(gc->pipe[i].array.vertex);
- if (gc->pipe[i].array.color) free(gc->pipe[i].array.color);
- if (gc->pipe[i].array.texuv) free(gc->pipe[i].array.texuv);
- if (gc->pipe[i].array.texuv2) free(gc->pipe[i].array.texuv2);
- if (gc->pipe[i].array.texuv3) free(gc->pipe[i].array.texuv3);
+ for (i = 0; i < gc->shared->info.pipes_max; i++)
+ {
+ if (gc->pipe[i].array.vertex) free(gc->pipe[i].array.vertex);
+ if (gc->pipe[i].array.color) free(gc->pipe[i].array.color);
+ if (gc->pipe[i].array.texuv) free(gc->pipe[i].array.texuv);
+ if (gc->pipe[i].array.texuv2) free(gc->pipe[i].array.texuv2);
+ if (gc->pipe[i].array.texuv3) free(gc->pipe[i].array.texuv3);
+ }
}
if ((gc->shared) && (gc->shared->references == 0))
}
if ((gc->shared) && (gc->shared->references == 0))
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
glCompileShader(p->vert);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
glCompileShader(p->vert);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
glGetShaderiv(p->vert, GL_COMPILE_STATUS, &ok);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
if (!ok)
glGetShaderiv(p->vert, GL_COMPILE_STATUS, &ok);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
if (!ok)
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
glCompileShader(p->frag);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
glCompileShader(p->frag);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
glGetShaderiv(p->frag, GL_COMPILE_STATUS, &ok);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
if (!ok)
glGetShaderiv(p->frag, GL_COMPILE_STATUS, &ok);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
if (!ok)
glLinkProgram(p->prog);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
glLinkProgram(p->prog);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
glGetProgramiv(p->prog, GL_LINK_STATUS, &ok);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
if (!ok)
glGetProgramiv(p->prog, GL_LINK_STATUS, &ok);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
if (!ok)