Does anybody know how i can get my image into opengl.Iv set my code up as follows
GLuint TexID;

GLubyte *data;

void init_drawing(void)
//Generate the texture
glGenTextures(1, &TexID);
glBindTexture(GL_TEXTURE_2D, TexID);
glTexImage2D(GL_TEXTURE_2D, 0, 3, 64, 64,

does it not work? in your draw code rember to put glBindTExture(GL_TEXTURE_2D, ID);

This the only code i have in.I was just wondering what is the next step.How to load in an image?
I know then i would use
glTexCoord2f( )
glVertex3f( )
to draw the image i think

Well *data needs to contain the data for the bitmap. Either learn how to load BMP files or TGA files, they’re the easiest ones.