[OpenGL]No bi-linear texture filtering

Hello all,

I’m writing a small program that loads an BMP into an SDL surface.
Now because of the size of this BMP(640x400) is not a power of 2 for
OpenGL I’ve decided to blit the surface onto several other surfaces.

Now my divided surfaces are 128x512 and there five of them and when I
draw my quads and then texture map them with each texture I don’t get
any bi-linear texture filtering. The textures are mapped and
rendered, but no smoothiness :frowning:

I’m not sure what’s causing this problem, I used to use textures sized
at 512x256 and they were fine.

Anyways any help would be greatly appreciated.

To take a gander at my code:
http://www4.tpg.com.au/users/jhogge/surface2texture.c++

Thanks in advance