add glFlush in function table
wip
wip
wip