Windows builds updates; prepare for release

This commit is contained in:
2025-08-27 18:23:12 -07:00
parent 3546f27655
commit b667710c99
2 changed files with 26 additions and 6 deletions

View File

@@ -53,15 +53,9 @@ ffmpeg_render
log_error(std::format(FFMPEG_POPEN_ERROR, strerror(errno)));
return false;
}
size_t frameBytes = size.x * size.y * TEXTURE_CHANNELS;
// supposedly, might help with video corruption issues on windows?
#if _WIN32
_setmode(_fileno(stdout), _O_BINARY);
#endif
for (const auto& frame : frames)
{
std::vector<u8> rgba = texture_download(&frame);