set zbuffer to one if drawtexture is called