libgdx opengl - black borders sometimes showing on a texture region

I’m having a very annoying problem, sometimes I get black borders on a texture region, depending on the distance the image currently is.
I think images will explain better.
The first image the wall is seamlessly merged:

When I zoom out a little you can see a black border between the two images making the image border visible and ruining the merging.

I’m using mipmaplinearlinear for the min filter.

Any ideas on how to avoid that ?

I had similar issues. Try using GL_NEAREST filtering.