How to detect PixelWriter error when call addImageLayer function
When I called addImageLayer function of osgEarth::Map class some of my IVE files result the following error in the console and my earth image is blank.
[osgEarth]* [PixelWriter] No writer found for pixel format 83f0
There is no status return from addImageLayer. So my question is "how can I detect/capture this error in my program so that I can reflect it in the user interface?" Showing a blank earth and no error message does not give my user good experience. I appreciate if I could get some help.