return false;
}
+ if (ioctl(fb->fd, FBIOGET_FSCREENINFO, &fb->fi) < 0) {
+ printf("Failed to get fb0 fix info");
+ return false;
+ }
+
/* If you have a device that has other BPP patches welcome... */
if (fb->vi.bits_per_pixel != 32) {
printf("Non-32-bit framebuffers not supported yet. Sorry.\n");