Texture2D bug, artifacts

Hello, I have a problem with the texture display.
I was doing the graphics engine, in the cherno channel lessons.
Here are the screenshots, did anyone run into this?
Ready to provide information if necessary.

If the black square is the region that is being spanned by your textured primitive, then you might not have enabled GL_BLEND. Use glBlendFunc() to set the blending function.

For more detail, see: