Can somebody help me use this function!
It return a pointer to a unsigned byte, but how can I convert it to oointer to a null-terminated string ?
This doesn´t work:
unsigned BYTE *test = glGetString(GL_VENDOR);
MessageBox(0, (char*)test, 0, 0);
Gandalf the White
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Popular Topics
Advertisement