/*:::::*/ void fb_hScreenInfo(int *width, int *height, int *depth, int *refresh) { #ifndef DISABLE_X if (fb_hX11ScreenInfo(width, height, depth, refresh)) #endif if (fb_hFBDevInfo(width, height, depth, refresh)) *width = *height = *depth = *refresh = 0; }
void fb_hScreenInfo(ssize_t *width, ssize_t *height, ssize_t *depth, ssize_t *refresh) { #ifndef DISABLE_X11 if (fb_hX11ScreenInfo(width, height, depth, refresh)) #endif #if defined HOST_LINUX && !defined DISABLE_FBDEV if (fb_hFBDevInfo(width, height, depth, refresh)) #endif *width = *height = *depth = *refresh = 0; }