public static void glGetCompressedTexImageARB(int target, int lod, ByteBuffer pImg) {
   ContextCapabilities caps = GLContext.getCapabilities();
   long function_pointer = caps.glGetCompressedTexImageARB;
   BufferChecks.checkFunctionAddress(function_pointer);
   GLChecks.ensurePackPBOdisabled(caps);
   BufferChecks.checkDirect(pImg);
   nglGetCompressedTexImageARB(target, lod, MemoryUtil.getAddress(pImg), function_pointer);
 }