-
Notifications
You must be signed in to change notification settings - Fork 36
Chapter2 ERROR: Could not create the shaders: invalid operation #11
Comments
You have to add: glewExperimental = GL_TRUE; right before GlewInitResult = glewInit(); |
I tried, but it didn't work unfortunately
` And I got the same error output of: |
So I ran your code through vimdiff with mine and found an error on your line 43 you have the line on line 80 you have my There are some more too. I suggest going back through and looking for these types of typos. Use the example code exactly first before you start modifying it. |
Hi, I had the same issue and the opengl version of my computer is also old 3.0 so I've replaced |
I downloaded the code chapter.2.2.c, the compilation was smooth, but when I tried to execute the program it output the error "ERROR: Could not create the shaders: invalid operation". I compiled the file using gcc in Ubuntu 14.04, the OpenGL version in my computer is 3.3 (I actually modified the context in the code from 4.0 to 3.3), absolute beginner, having no idea what to do...
The text was updated successfully, but these errors were encountered: