void gldtDeleteTextures(List<int> textures) { var pointer = calloc<Uint32>(); for (var id in textures) { pointer.value = id; glDeleteTextures(1, pointer); } calloc.free(pointer); }