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:
parent
ba9e1f307d
commit
7c65764ed8
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user