[RELEASE] u22-v04

This version is submitted for U22 final presentation. (squashed 158 commits)
This commit is contained in:
2020-10-09 00:00:00 +00:00
parent 84c3a02b9a
commit 80b3b82332
277 changed files with 12154 additions and 13836 deletions

View File

@@ -50,7 +50,8 @@ static void gleasy_atlas_resize_bitmap_(
const size_t pixel = type*fmt;
assert(pixel > 0);
container_array_resize(atlas->resize_buffer, out->width*out->height*pixel);
container_array_resize(
atlas->resize_buffer, (size_t) out->width*out->height*pixel);
out->buffer = atlas->resize_buffer;
const int32_t ymax = out->height * pixel;
@@ -128,7 +129,7 @@ gleasy_atlas_t* gleasy_atlas_new(
assert(glGetError() == GL_NO_ERROR);
container_array_reserve(atlas->resize_buffer, width*height*4);
container_array_reserve(atlas->resize_buffer, (size_t) width*height*4);
return atlas;
}