开启服务器端的opengl功能
void glEnable( GLenum cap);
GL_BLEND
If enabled, blend the computed fragment color values with the values in the color buffers. See glBlendFunc.
GL_CLIP_DISTANCE i
If enabled, clip geometry against user-defined half space i.
GL_COLOR_LOGIC_OP
If enabled, apply the currently selected logical operation to the computed fragment color and color buffer values. See glLogicOp.
GL_CULL_FACE
If enabled, cull polygons based on their winding in window coordinates. See glCullFace.
GL_DEBUG_OUTPUT
If enabled, debug messages are produced by a debug context. When disabled, the debug message log is silenced. Note that in a non-debug context, very few, if any messages might be produced, even when GL_DEBUG_OUTPUT is enabled.
GL_DEBUG_OUTPUT_SYNCHRONOUS
If enabled, debug messages are produced synchronously by a debug context. If disabled, debug messages may be produced asynchronously. In particular, they may be delayed relative to the execution of GL commands, and the debug callback function may be called from a thread other than that in which the commands are executed. See glDebugMessageCallback.
GL_DEPTH_CLAMP
If enabled, the −wc≤zc≤wc