Windows builds updates; prepare for release
This commit is contained in:
26
CMakeSettings.json
Normal file
26
CMakeSettings.json
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "x64-Debug",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"configurationType": "Debug",
|
||||||
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||||
|
"buildRoot": "${projectDir}\\build\\${name}",
|
||||||
|
"installRoot": "${projectDir}\\install\\${name}",
|
||||||
|
"cmakeCommandArgs": "",
|
||||||
|
"buildCommandArgs": "",
|
||||||
|
"ctestCommandArgs": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "x64-Release",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"configurationType": "Release",
|
||||||
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||||
|
"buildRoot": "${projectDir}\\build\\${name}",
|
||||||
|
"installRoot": "${projectDir}\\install\\${name}",
|
||||||
|
"cmakeCommandArgs": "",
|
||||||
|
"buildCommandArgs": "",
|
||||||
|
"ctestCommandArgs": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@@ -54,14 +54,8 @@ ffmpeg_render
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
size_t frameBytes = size.x * size.y * TEXTURE_CHANNELS;
|
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)
|
for (const auto& frame : frames)
|
||||||
{
|
{
|
||||||
std::vector<u8> rgba = texture_download(&frame);
|
std::vector<u8> rgba = texture_download(&frame);
|
||||||
|
Reference in New Issue
Block a user