Sign in to follow this  

bitmaps

This topic is 3373 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi,here is a part of my DrawGLScene(): if(logonwindow) { glTranslatef(-0.3f,0.0f,-5.0f); glColor3f(1.0f,1.0f,1.0f); glRasterPos2f(0.0f,1.0f); glPrint(base,"WarKnight"); glRasterPos2f(-0.25f,0.0f); glPrint(base,"%s",username); glRasterPos2f(-0.20f,-0.25f); glPrint(base,"%s",hiddenpath); glColor3f(1.0f,0.0f,1.0f); glBindTexture(GL_TEXTURE_2D,texture[0]); glBegin(GL_QUADS); glTexCoord2f(0.0f,1.0f);glVertex3f(-0.75f,0.1f,-0.1f); glTexCoord2f(1.0f,1.0f);glVertex3f( 1.25f,0.1f,-0.1f); glTexCoord2f(1.0f,0.0f);glVertex3f( 1.25f,-0.4f,-0.1f); glTexCoord2f(0.0f,0.0f);glVertex3f(-0.75f,-0.4f,-0.1f); glEnd(); } I have a rpoblem with it: Insteaf of displaying white text,it displays red,blue etc. text,depending on the texture.I load the texture from a resource.

Share this post


Link to post
Share on other sites

This topic is 3373 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this