when I bind my texture in opengl to a square, it just displays as a white square. Here is the code, what are the possible causes of this?
Code:
void Draw (void)
{
	glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);		// Clear Screen And Depth Buffer
	glLoadIdentity();											// Reset The View	
    glEnable(GL_TEXTURE_2D);
    glTranslatef(0.0f, 0.0f, -6.0f);

	//glColor3f(1.0f,1.0f,1.0f);
    glBindTexture(GL_TEXTURE_2D, texture[1]);

    glBegin(GL_QUADS);
        glTexCoord2f(0.0f, 1.0f); glVertex2f(0.0f, 0.0f);
        glTexCoord2f(0.0f, 0.0f); glVertex2f(0.0f,-1.0f);
        glTexCoord2f(1.0f, 0.0f); glVertex2f(1.0f,-1.0f);
        glTexCoord2f(1.0f, 1.0f); glVertex2f(1.0f, 0.0f);
    glEnd();

	glFlush ();													// Flush The GL Rendering Pipeline
}
I know texutre[1] has loaded correctly, so what else can it be? Thanks for your help!