fixed the glzDrawtexture problem