glGetString();

This is probably a little off-topic, but how do I display the strings returned by glGetString() in a console window?
I’ve tried:
printf(“OpenGL Vendor: %s”, glGetString(GL_VENDOR));
But I just get “(null)”.
HELP!
TiA

Initialize/set up OpenGL before you call glGetString.

Hope that helps

ie. Don’t call glGetString at the beginning of the main proc., call at the end of the init proc. instead…I’ll try it: thanks!