Linux: Fixed accum color bits when accum_bpp = 0
This commit is contained in:
parent
6bb5885bcc
commit
ec67322e64
|
@ -98,6 +98,9 @@ GLXFBConfig *getFBConfigFromPeerInfo(JNIEnv *env, X11PeerInfo *peer_info) {
|
|||
static int convertToBPE(int bpp) {
|
||||
int bpe;
|
||||
switch (bpp) {
|
||||
case 0:
|
||||
bpe = 0;
|
||||
break;
|
||||
case 32:
|
||||
case 24:
|
||||
bpe = 8;
|
||||
|
|
Loading…
Reference in New Issue