How to disable texture filtering


for my imaging application i want to use
OpenGL textured quad.I need scale ( zoom) and rotate my images. If i zoom in to my textured quad too close i can see filtering
of my pixels even in NEAREST mode.
So, the quiestion is how is it possible to switch filtering totally off?

GL_NEAREST will turn it off (or pick the nearest texel if one consider it as a kind of filtering aswell). You probably did something wrong. Post some relevant pieces code.

I’ve fixed it. Everything is working exactly the way i wanted.