Page 1 of 1

24 bit graphics driver mode

Posted: Sun Feb 18, 2018 1:12 am
by coco2
I recently installed Linux Mint 18.3 Mate on a laptop and started using PB in Linux. I noticed that ExamineDesktops() returns the desktop depth as 24 bit. Also my program crashes when I try to do DrawAlphaImage(), does this require 32 bit depth? It doesn't say in help. Does Linux have a 32 bit mode? I Googled and read that Linux 24 bit mode is the same as Windows 32 bit mode.

Re: 24 bit graphics driver mode

Posted: Mon Feb 19, 2018 10:29 am
by coco2
I think I figured it out. Linux reports 24 bit graphics which is the same as Windows 32 bit graphics. It works the same. The other problem I was having with DrawAlphaImage() I figured out too, it was not related.

Re: 24 bit graphics driver mode

Posted: Mon Feb 19, 2018 10:11 pm
by Franky666
I'm on the same OS.
Can you five a code example where it happens so I can test? :D

Re: 24 bit graphics driver mode

Posted: Mon Feb 19, 2018 11:30 pm
by coco2
Thanks for offering to help but I fixed the problem. I notice that Linux reports a desktop bit depth of 24 bits and I thought that was causing me problems. But it turns out Linux reports 24 bit graphics which is the same as Windows 32 bit graphics.