mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-20 05:44:03 +00:00
Linux: Fixed accum color bits when accum_bpp = 0
This commit is contained in:
parent
6bb5885bcc
commit
ec67322e64
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue