Texture resizing

This commit is contained in:
YourWishes committed 2021-11-04 13:28:28 -07:00
1 parent 21e19ba995
commit c61a63c30f
3 files changed
+54 -32

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ bool sandboxGameInit(sandboxgame_t *game) {
assetManagerStart(&game->manager);
pixel_t *data = (pixel_t *)assetRawLoad("out/test.texture");
textureInit(&game->texture, 4360, 1920, (pixel_t *)data);
textureInit(&game->texture, 4360/2, 1920/2, (pixel_t *)data);
free(data);
return true;