Skip to content

Commit

Permalink
Removed the check at distance check, as it was suggested to not be vi…
Browse files Browse the repository at this point in the history
…able as per the library author.
  • Loading branch information
Earthmark committed Nov 14, 2021
1 parent 1f2d8a5 commit 9898970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dll_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ DLL_EXPORT void DLL_API shape_generateMSDF(float* pixels, int width, int height,
MSDFGeneratorConfig generatorConfig;
MSDFGeneratorConfig postErrorCorrectionConfig(generatorConfig);
generatorConfig.errorCorrection.mode = ErrorCorrectionConfig::DISABLED;
postErrorCorrectionConfig.errorCorrection.distanceCheckMode = ErrorCorrectionConfig::CHECK_DISTANCE_AT_EDGE;
postErrorCorrectionConfig.errorCorrection.distanceCheckMode = ErrorCorrectionConfig::DO_NOT_CHECK_DISTANCE;
// TODO: Include edgeThreshold inside config.errorCorrection, as that feature is currently not implemented
// and there's no documentation as to what the intent was.

Expand Down

0 comments on commit 9898970

Please sign in to comment.