Merge pull request #678 from steinarvk/master

Fixed backwards error check in geometryc.
This commit is contained in:
Branimir Karadžić 2016-02-13 12:44:39 -08:00
commit 377e77f6b5

View file

@ -811,7 +811,7 @@ int main(int _argc, const char* _argv[])
PrimitiveArray primitives;
bx::CrtFileWriter writer;
if (bx::open(&writer, outFilePath) )
if (!bx::open(&writer, outFilePath) )
{
printf("Unable to open output file '%s'.", outFilePath);
exit(EXIT_FAILURE);