Jump to content
  • Advertisement
Sign in to follow this  
rumble

OpenGL wglChoosePixelFormatARB not working?

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

On one remote client machine, PROC proc = wglGetProcAddress("wglChoosePixelFormatARB"); returns NULL and I get a crash. Since it is remote I cannot debug it. Any tips? This is standard OpenGL without shaders. Perhaps it is because I did not include .dlls or .libs in the distribution, only the .exe?

Share this post


Link to post
Share on other sites
Advertisement
wglGetProcAddress only works if you have a valid OpenGL context. If it returns NULL, then very likely the context is not valid.

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!