Mip-map warning using Cavas UI on stable

James Turner <[email protected]> Wed, 24 Jun 2026 14:57:57 +0100
Newsgroups gmane.games.flightgear.devel
Message-ID <[email protected]>
The following bug report:

	https://gitlab.com/flightgear/simgear/-/work_items/51#note_3483915473

… is about console log spam when using Canvas Ui (eg, the Canvas property browser) on *stable*. For two users (so far), the various image assets of the default Canvas GUI style produce many console messages about being non-power-of-two.

We have existing code (for a long time, nothing that changed on stable) to ensure we don’t mip-map Canvas images, since typically it makes no sense. And for me locally, even when using the Canvas property browser on 2026.1.6, I don’t see these messages, and indeed I (as expected) don’t enter the `computeMipmaps` code *at all* for these images.

It would be useful if more folks with a debug / dev build of stable could test : any aircraft will work, just open the Debug > Development Extensions dialog and choose ‘Canvas property browser’. You will either get lots of log spam or you won’t. If you do hit the message, please set a breakpoint on it in GDB and post the back-trace (in the ticket)

Answers / discussion in the ticket as always please!

Kind regards,
James

_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel