If you use fbdev, it means you did not define modes.
This probably means you have an empty /etc/fb.modes.

hth
Niels

[email protected] wrote:
My code:

DFBEnumerationResult video_modes_enumeration_callback( int width, int height, int bpp, void * callbackdata )
{
   callbackdata = NULL;
printf("Availible video mode:\twidth: %d, height: %d, ", width, height);
   if( bpp == 2 ) {printf("bpp: DSPF_LUT2\n");}
   if( bpp == 8 ) {printf("bpp: DSPF_LUT8\n");}
   if( bpp == 12 ) {printf("bpp: DSPF_ARGB4444\n");}
   if( bpp == 14 ) {printf("bpp: DSPF_ARGB2554\n");}
   if( bpp == 15 ) {printf("bpp: DSPF_ARGB1555\n");}
   if( bpp == 16 ) {printf("bpp: DSPF_RGB16\n");}
   if( bpp == 18 ) {printf("bpp: DSPF_RGB18\n");}
   if( bpp == 24 ) {printf("bpp: DSPF_RGB24\n");}
   if( bpp == 32 ) {printf("bpp: DSPF_RGB32\n");}

   return DFENUM_OK;
}

int main(...)
{
  ...
if( (dfberr = super_interface->EnumVideoModes(super_interface, video_modes_enumeration_callback, NULL)) != DFB_OK ) { fprintf(stderr, "File: %s, Line: %d:\n", __FILE__, __LINE__); DirectFBErrorFatal( "EnumVideoModes()", dfberr); }
  ...
}

So - I see no output - like no video modes exist. What does it mean?

---------------------------------------------------------------
Zapytaj wróżkę!
Kliknij >>> http://link.interia.pl/f238d
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users



--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to