clstate.c

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 

Generated on Thu Dec 27 13:53:41 2007 for CL by  doxygen 1.4.6