I\'m trying to figure out texture mapping in OpenGL and I can\'t get a simple example to work.
The polygon is being drawn, though it\'s not textured but just a soli
In your comments, you say your bitmap is 29x20 pixels. Afaik to generate a valid texture, OpenGL requires that the image size (on each dimension) be a power of 2. It doesn't need to be a square, it can be a rectangle though. You can overcome this by using some OpenGL extensions like GL_ARB_texture_rectangle.