Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My init code calls glGetString() to find information about the OpenGL implementation, but why doesn it return a string?

0
Posted

My init code calls glGetString() to find information about the OpenGL implementation, but why doesn it return a string?

0

The most likely cause of this problem is that a context hasn’t been made current. An OpenGL rendering context must exist and be made current to a window for any OpenGL calls to function and return meaningful values.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123