Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are these printfs intentionally not debug_printfs? #45

Closed
MarkCallow opened this issue Jul 5, 2019 · 2 comments
Closed

Are these printfs intentionally not debug_printfs? #45

MarkCallow opened this issue Jul 5, 2019 · 2 comments

Comments

@MarkCallow
Copy link
Contributor

MarkCallow commented Jul 5, 2019

There are 2 regular printfs in basisu_comp.cpp one at line 496 that prints "Total basis file slices" and one, a couple of lines later, that prints all the information about each slice. Is it intentional that these are NOT debug_printf?

In my use of the compressor from within a library, I'd prefer it did not print anything.

@richgel999
Copy link
Contributor

I'll route all printf()'s into some common functions which can be redirected/disabled.

@richgel999
Copy link
Contributor

All printf()'s are routed to either debug_printf() or error_printf().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants