glDisable
glDisable is an OpenGL API function used to disable a server-side capability in the currently active OpenGL context. It is the counterpart to glEnable and operates on the OpenGL state machine to turn off features that may affect rendering.
cap identifies the capability to disable, specified by a symbolic constant such as GL_DEPTH_TEST, GL_BLEND, GL_CULL_FACE,
Calling glDisable disables the specified capability. If the capability was enabled, it becomes disabled; if it
In practice, glDisable is commonly used to control features such as depth testing (GL_DEPTH_TEST), blending (GL_BLEND),
If cap is not a valid capability, GL_INVALID_ENUM is generated. If no current context exists, GL_INVALID_OPERATION