78 if (src == dst)
return;
83 const intg32*
const sptr = env_img_pixels(src);
84 intg32*
const dptr = env_img_pixelsw(dst);
86 for (
env_size_t i = 0; i < sz; ++i) dptr[i] = sptr[i];
void * env_allocate(unsigned long nbytes)
void env_deallocate(void *mem)
void env_img_swap(struct env_image *img1, struct env_image *img2)
void env_img_resize_dims(struct env_image *img, const struct env_dims d)
void env_img_make_empty(struct env_image *img)
void env_img_init(struct env_image *img, const struct env_dims d)
void env_img_copy_src_dst(const struct env_image *src, struct env_image *dst)
ENV_INTG32_TYPE intg32
32-bit signed integer
A simple struct to hold a pair of width/height dimensions.