assertion fix, array out of bounds in zl_gfx_opengl.cpp