defold / defold.github.io

www.defold.com
Other
11 stars 13 forks source link

Typo in profiler API reference page #104

Closed Daniel-EST closed 8 months ago

Daniel-EST commented 8 months ago

In the profiler API reference page there is a typo regarding the available platforms for the function profiler.get_memory_usage() it is written "Androd" when it was supposed to be "Android".

image

This typo is persistent in all versions, stable, beta and alpha.

britzl commented 8 months ago

The API reference is generated from source code comments which means that any fix has to be done in the source code, not here. The text in question can be found here: https://github.com/defold/defold/blob/dev/engine/profiler/src/profiler.cpp#L130

Daniel-EST commented 8 months ago

Sorry, I should've paid more attention. Just opened a proper pull request on Defold's source code repository.