parent
ce8b3c77ab
commit
6b42415c3b
|
@ -346,7 +346,7 @@ void (*glsym_glDeleteFramebuffers) (GLsizei a, const GLuint *b);
|
|||
# define GLERR(fn, fl, ln, op) \
|
||||
{ \
|
||||
int __gl_err = glGetError(); \
|
||||
if (__gl_err != GL_NO_ERROR) glerr(__gl_err, fn, fl, ln, op); \
|
||||
if (__gl_err != GL_NO_ERROR) glerr(__gl_err, fl, fn, ln, op); \
|
||||
}
|
||||
#else
|
||||
# define GLERR(fn, fl, ln, op)
|
||||
|
|
|
@ -942,6 +942,7 @@ shader_array_flush(Evas_GL_Context *gc)
|
|||
if (gc->array.num <= 0) return;
|
||||
|
||||
// fprintf(stderr, " flush array %i\n", gc->array.num);
|
||||
GLERR(__FUNCTION__, __FILE__, __LINE__, "<flush err>");
|
||||
if (gc->shader.cur_prog != gc->shader.current.cur_prog)
|
||||
{
|
||||
glUseProgram(gc->shader.cur_prog);
|
||||
|
|
Loading…
Reference in New Issue