Read output file name from stdin.

This commit is contained in:
castano 2007-11-16 11:24:57 +00:00
parent 854da30b8e
commit 5c95f5d5e6

View File

@ -138,11 +138,9 @@ int main(int argc, char *argv[])
} }
nv::Path name("output.dds"); nv::StdOutputStream stream(output);
nv::StdOutputStream stream(name);
if (stream.isError()) { if (stream.isError()) {
printf("Error opening '%s' for writting\n", name.str()); printf("Error opening '%s' for writting\n", output.str());
return 1; return 1;
} }