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;
 }
 /*     */ public static int glGetUniformLocationARB(int programObj, ByteBuffer name) /*     */ {
   /* 419 */ ContextCapabilities caps = GLContext.getCapabilities();
   /* 420 */ long function_pointer = caps.glGetUniformLocationARB;
   /* 421 */ BufferChecks.checkFunctionAddress(function_pointer);
   /* 422 */ BufferChecks.checkDirect(name);
   /* 423 */ BufferChecks.checkNullTerminated(name);
   /* 424 */ int __result =
       nglGetUniformLocationARB(programObj, MemoryUtil.getAddress(name), function_pointer);
   /* 425 */ return __result;
   /*     */ }