Jump to content
  • Advertisement
Sign in to follow this  
rumble

OpenGL wglChoosePixelFormatARB not working?

This topic is 3624 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!