Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Songoku

Please i need help(Cg&OpenGL)

This topic is 5234 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 tried to to get started using Cg with opengl and copied the nehe tutorial 47. I have downloaded the cg toolkit from nvidia and installed it. I´ve compiled the whole code and got no errors(i´ve included all libraries and headers). The problem is, the test to see if the required profiles (ie, extensions) are supported always fails. // Get The Latest GL Vertex Profile cgVertexProfile = cgGLGetLatestProfile(CG_GL_VERTEX); // Validate Our Profile Determination Was Successful if (cgVertexProfile == CG_PROFILE_UNKNOWN) { MessageBox(NULL, "Invalid profile type", "Error", MB_OK); return FALSE; // Here is the fault } I have a valid RenderingContext(a grid is drawn). I am trying to solve this problem for months. Nehe´s version does get a valid profile. Why not mine? Please help me. I have a Radeon 9800XT.

Share this post


Link to post
Share on other sites
Advertisement

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