diff --git a/src/native/linux/context.c b/src/native/linux/context.c index f3133346..d9bd3dd4 100644 --- a/src/native/linux/context.c +++ b/src/native/linux/context.c @@ -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;