🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Can't Create a GL Rendering Context

Started by
0 comments, last by Kazade 16 years, 9 months ago
I''ve taken lesson 1 of nehe and now i'm getting this message "Can't Create a GL Rendering Context" When this message comes and how we get rid of it.
Advertisement
Hi,

It is likely you are specifying some kind of pixelformat that OpenGL can't support. To get the exact error you can use GetLastError() which will return an error code.

I would suggest though, if you haven't changed the code for lesson1 at all, please try installing the latest drivers for your graphics card. Are you able to run other OpenGL programs/games?

If you still have problems after that post back.

Luke.
Member of the NeHe team.

This topic is closed to new replies.

Advertisement