GL_RENDER returns null

Hi everyone, I’ creating a simple project using opengl with glut. I use Xcode 4 on Lion OS.

I try to print GL_RENDER but I get “null”. What exaclty it means? It’s a bad thing?
this is the code line:

printf("renderer OpenGL: %s
", glGetString(GL_RENDER));

I put the code line after created gl context

sorry stupid error.

I should write “GL_RENDERER” instead of “GL_RENDER”

Usually that means that no GL context is current on the calling thread.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.