Hello, I'm trying to set the texture coordinate by pixels. I do something like this:
Code :glMatrixMode(GL_TEXTURE); glLoadIdentity(); glOrtho(-width, width, -height, height, -1, 1); //...
It works, but it's not accurate:
If I use manual anti-aliasing it works.
I read about GL_TEXTURE_RECTANBGLE_ARB, but I'm using OpenGL 1.1 and it's undefined on the header and (I think) in the library. I'm using Visual Studio 2010 and Visual C++ on Windows.