Advertisement

Can't Create a GL Rendering Context

Started by September 14, 2007 12:22 AM
0 comments, last by Kazade 17 years, 2 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.
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