Jump to content
  • Advertisement
Sign in to follow this  
phalaris

OpenGL EXACT same Tao OpenGL code works for Vista but not XP! Help please!

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

I was working on a pretty big app all summer, and it was running fine, but some bug crept in before my final submission. Now it won't work properly in XP. I've stripped it down to its absolute bare bones so you can see the problem. Basically it loads an image and then drapes it as a texture across the SimpleOpenGlControl. Works totally fine in Vista, but stopped working in XP!! Please feel free to complile and have a look. Some ideas of potential problems: (1) The load texture method is the only bit of copy-pasted code, and I'm not totally sure how it works. This is my main suspicion. (2) The SimpleOpenGlControl is in a panel and maybe for some odd reason the panel covers the SimpleOpenGlControl in XP... but it's using the same .NET platform so why on earth would it do that... I uploaded the code here: http://www.maths.tcd.ie/~vapor/test.rar (it's a C# solution). I really appreciate the help. I have to get this sorted within the next 8 hours and it could take a Tao expert two seconds to spot! I am totally dumbfounded and like I said it worked a few weeks ago, I have no idea what happened... Thank you guys!

Share this post


Link to post
Share on other sites
Advertisement
Solution here: http://taoframework.com/node/952#comment-2654

The issue is that you are calling OpenGL functions before the OpenGL context has been initialized.

Share this post


Link to post
Share on other sites
The solution did not work..
Any other suggestions would be appreciated, even if just to check if it works on your XP computer.

Thanks again,

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!