Texture problem

Good morning i have a problem with texture - when i rotate my point cloud and texture i realise that my image is redrawn so i see poligons behind. I think this is opengl inbuild function that i need to disable, but dont know its name. So polygons are textured from both sides and i see thrue polygons when i rotate it. Thanks a lot.

It isn’t very clear. You mean you have a z-order issue? Something should be behind but it is rendering in front of another object?
Enable depth testing with glEnable(GL_DEPTH_TEST)
and there is also glDepthFunc.