EXACT same Tao OpenGL code works for Vista but not XP! Help please!
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!
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.
The issue is that you are calling OpenGL functions before the OpenGL context has been initialized.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement