And where is your Problem?

It does what it says - it filters GL_LINEAR. Means in this case a
smooth line from black to white to black.

If you want a hard cut you should use GL_NEAREST.