1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 02:52:10 +01:00

[tests] Fix dxbc compiler test compilation issue

This commit is contained in:
Philip Rebohle 2018-03-23 19:46:23 +01:00
parent ba9e1f307d
commit 7c65764ed8
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -41,8 +41,8 @@ int WINAPI WinMain(HINSTANCE hInstance,
DxbcModule module(reader);
Rc<DxvkShader> shader = module.compile(DxbcOptions());
shader->dump(std::ofstream(
str::fromws(argv[2]), std::ios::binary));
std::ofstream ofile(str::fromws(argv[2]), std::ios::binary);
shader->dump(ofile);
return 0;
} catch (const DxvkError& e) {
Logger::err(e.message());