24 bit graphics driver mode

Linux specific forum
coco2
Enthusiast
Enthusiast
Posts: 368
Joined: Mon Nov 25, 2013 5:38 am
Location: Australia

24 bit graphics driver mode

Post 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.
coco2
Enthusiast
Enthusiast
Posts: 368
Joined: Mon Nov 25, 2013 5:38 am
Location: Australia

Re: 24 bit graphics driver mode

Post 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.
User avatar
Franky666
User
User
Posts: 17
Joined: Wed Jan 09, 2008 10:43 pm
Location: Germany

Re: 24 bit graphics driver mode

Post by Franky666 »

I'm on the same OS.
Can you five a code example where it happens so I can test? :D
coco2
Enthusiast
Enthusiast
Posts: 368
Joined: Mon Nov 25, 2013 5:38 am
Location: Australia

Re: 24 bit graphics driver mode

Post 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.
Post Reply