mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Deny pixmap creation if screen is not in 16/24 depth.
This commit is contained in:
parent
c153f4f114
commit
d91784d0de
@ -70,6 +70,9 @@ Pixmap create_xpixmap(Fl_Image* img, XImage* xim, Pixmap pix) {
|
||||
n >>= 1;
|
||||
bshift--;
|
||||
}
|
||||
} else {
|
||||
EWARNING("Depth %i not supported, for now\n", fl_visual->depth);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// assume display == 16 depth
|
||||
|
Loading…
Reference in New Issue
Block a user