Read output file name from stdin.
This commit is contained in:
parent
854da30b8e
commit
5c95f5d5e6
@ -138,11 +138,9 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
|
||||
nv::Path name("output.dds");
|
||||
|
||||
nv::StdOutputStream stream(name);
|
||||
nv::StdOutputStream stream(output);
|
||||
if (stream.isError()) {
|
||||
printf("Error opening '%s' for writting\n", name.str());
|
||||
printf("Error opening '%s' for writting\n", output.str());
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user