forked from enlightenment/efl
allow for debug checking of # of flushes per frame. checking to see if
this all works SVN revision: 50919
This commit is contained in:
parent
6320a8db84
commit
65b6845759
|
@ -640,8 +640,15 @@ void
|
|||
evas_gl_common_context_newframe(Evas_GL_Context *gc)
|
||||
{
|
||||
int i;
|
||||
static int dbgflushnum = -1;
|
||||
|
||||
if (dbgflushnum < 0)
|
||||
{
|
||||
dbgflushnum = 0;
|
||||
if (getenv("DBGEVAS")) dbgflushnum = 1;
|
||||
}
|
||||
if (dbgflushnum) printf("prev-flushnum: %i\n", gc->flushnum);
|
||||
|
||||
// printf("prev frame flushnum = %i\n", gc->flushnum);
|
||||
gc->flushnum = 0;
|
||||
gc->state.current.cur_prog = 0;
|
||||
gc->state.current.cur_tex = 0;
|
||||
|
|
Loading…
Reference in New Issue