mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-18 16:21:07 +00:00
Merge branch 'improve-save-performance-fseek'
This commit is contained in:
commit
d3d30ed851
@ -526,7 +526,8 @@ static void ase_file_write_start_chunk(FILE* f, dio::AsepriteFrameHeader* frame_
|
||||
chunk->type = type;
|
||||
chunk->start = ftell(f);
|
||||
|
||||
fseek(f, chunk->start+6, SEEK_SET);
|
||||
fputl(0, f);
|
||||
fputw(0, f);
|
||||
}
|
||||
|
||||
static void ase_file_write_close_chunk(FILE* f, dio::AsepriteChunk* chunk)
|
||||
|
Loading…
x
Reference in New Issue
Block a user