public static void glBindFragDataLocationEXT(int program, int colorNumber, ByteBuffer name) {
   ContextCapabilities caps = GLContext.getCapabilities();
   long function_pointer = caps.glBindFragDataLocationEXT;
   BufferChecks.checkFunctionAddress(function_pointer);
   BufferChecks.checkDirect(name);
   BufferChecks.checkNullTerminated(name);
   nglBindFragDataLocationEXT(program, colorNumber, name, name.position(), function_pointer);
 }
 public static int glGetFragDataLocationEXT(int program, ByteBuffer name) {
   ContextCapabilities caps = GLContext.getCapabilities();
   long function_pointer = caps.glGetFragDataLocationEXT;
   BufferChecks.checkFunctionAddress(function_pointer);
   BufferChecks.checkDirect(name);
   BufferChecks.checkNullTerminated(name);
   int __result = nglGetFragDataLocationEXT(program, name, name.position(), function_pointer);
   return __result;
 }