Skip to content

Commit

Permalink
fix: flush svg stream after write end (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn authored Feb 2, 2025
1 parent 521d1af commit 8538673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skia-c/skia_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1747,6 +1747,7 @@ extern "C"
string->appendS32(height);
string->append("\">\n");
stream->write(string->c_str(), string->size());
stream->flush();
}

void skiac_sk_w_stream_destroy(skiac_w_memory_stream *c_w_memory_stream)
Expand Down

0 comments on commit 8538673

Please sign in to comment.