mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user