-
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\n", glGetString(GL_RENDER));
I put the code line after created gl context
-
Re: GL_RENDER returns null
sorry stupid error.
I should write "GL_RENDERER" instead of "GL_RENDER"
-
Junior Member
Regular Contributor
Re: GL_RENDER returns null
Usually that means that no GL context is current on the calling thread.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules