OpenGL check if something is enabled or disabled
c++, opengl
Solution
For global lighting, how about:
glIsEnabled(GL_LIGHTING)
Problem
is there any function like `isEnabled(GL_LIGHTING);` or any way to detect if is something enabled or disabled?
c++, opengl
For global lighting, how about:
glIsEnabled(GL_LIGHTING)
is there any function like `isEnabled(GL_LIGHTING);` or any way to detect if is something enabled or disabled?