Added texture rendering to draw function

It shows triangles