glew
glew copied to clipboard
problems of glEnablei for GL_COLOR_LOGIC_OP
Hi, guys.
I want to use glEnablei(GL_COLOR_LOGIC_OP, 0), but glGetError() returns GL_INVALID_ENUM. I saw the introduction of glEnable, it says that
Any token accepted by glEnable or glDisable is also accepted by glEnablei and glDisablei
I ensure that glEnable(GL_COLOR_LOGIC_OP) is okay.
By the way, I use OpenGL4.0. Is this the problem of glew or other related issues?
Possibly some sort of driver bug. Can you attach the output of glewinfo?
Possibly some sort of driver bug. Can you attach the output of glewinfo?
Here it is glewinfo.txt
I have found a new link glEnable It says that only GL_BLEND and GL_SCISSOR_TEST can be used with indices higher than zero. I am confused about that since I only use the index of 0, or I can not use glEnablei for other capabilities except the above two?
Might be interesting to confirm the problem for another vendor implementation. Or, in a pinch, a newer or older Nvidia driver.
Seems unlikely to be GLEW doing something wrong here. Marking as Question, for now.
Anything further on this?
A simple reproducer program would be helpful here.