mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-02 10:30:07 -04:00
Fixed backwards error check in geometryc.
bx::open() returns true on success, so there should be a negation in this error check.
This commit is contained in:
parent
d97863468b
commit
b4919c85e8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue