As discussed via mail.
Whenever GetOCPNCanvasWindow returns NULL the code silently ignores this and continues.
This is intended for the usage inside AvNav (the EULA handling is done outside).
There are still 2 occurances of GetOCPNCanvasWindow in the s52 rendering, android version. I did not change this - it is used to get the y size of the window. Out of the box I was not sure if there would be another way of doing that (as it seems to be handled different at all other places).
For now it does not matter - but I would like to get this resolved too - maybe Android is on the roadmap...
As discussed via mail. Whenever GetOCPNCanvasWindow returns NULL the code silently ignores this and continues. This is intended for the usage inside AvNav (the EULA handling is done outside).
There are still 2 occurances of GetOCPNCanvasWindow in the s52 rendering, android version. I did not change this - it is used to get the y size of the window. Out of the box I was not sure if there would be another way of doing that (as it seems to be handled different at all other places). For now it does not matter - but I would like to get this resolved too - maybe Android is on the roadmap...