Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Cant use textures and fonts at the same time? WHY!?

This topic is 6198 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

This can maybe sort out your problem. Try enabling and disabling the GL_TEXTURE_2D in your drawscene. for example:
// Do the texturing and drawing of all vertexes and that stuff.
// when done with this, and right before you want to draw the
// fonts you enable GL_TEXTURE_2D

// we''re done drawing vertexes and stuff


Maybe this help you, I''m not sure if this is the cause of your problem. anyways it''s worth a shot.

Kenneth Wilhelmsen
Download my little game project HERE
He who joyfully marches to music in rank and file has already earned my contempt. He has
been given a large brain by mistake, since for him the spinal cord would fully suffice. This
disgrace to civilization should be done away with at once. Heroism at command, senseless
brutality, deplorable love-of-country stance, how violently I hate all this, how despicable and ignoble war is; I would rather be torn to shreds than be a part of so base an action! It is my conviction that killing under the cloak of war is nothing but an act of murder

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!