Jump to content
  • Advertisement
Sign in to follow this  
openglaussie

OpenGL strange freetype2 issue

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

Good day, i am experiencing a strange issue with opengl, mfc and freetpye2 i tried to print some text using freetype. While i had no problem printing text in a window lean and mean application ( the lesson #43 from nehe ). But now ,i have a strange problem with the same code under mfc The textures aren't loaded and the string appears formed just by rectangles. Has anyone ever had a similar problem under mfc ? i am using visual stusio 2008 pro , with the latest drivers for opengl video board. I want to add that the same application using a windows xp machine works with no problems, the issue is only with vista under mfc thanks

Share this post


Link to post
Share on other sites
Advertisement
Are you 100% positive that your texture is created AFTER your OpenGL context is initialized? You can check by using the glIsTexture function. Pass in the GLint variable for your texture and make sure its valid.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!