00001 #include <cl.h> 00002 00003 static CLenum _cl_enabled = CL_ALL; 00004 00005 GLvoid clEnable(CLenum e) 00006 { 00007 _cl_enabled |= e; 00008 } 00009 00010 GLvoid clDisable(CLenum e) 00011 { 00012 _cl_enabled &= ~e; 00013 } 00014 00015 bool clIsEnabled(CLenum e) 00016 { 00017 return CL_BOOLEAN(_cl_enabled & e); 00018 } 00019