Hi all,
I've cross compiled SDL to run on a ARM processor, setting the framebuffer driver to console video driver (directfb won't work). All seems fine, I've ran a small bit of code that gives a segmentation fault. Some debugging shows this comes from SDL_Flip. So I changed this to SDL_updaterect. No crash but no update to screen. So I added a error check using
Code:
screen = SDL_SetVideoMode( 640, 480, 16, SDL_SWSURFACE|SDL_FULLSCREEN );
if( screen == NULL )
{
std::cerr << "Video initialization failed: " << SDL_GetError() << std::endl;
This gives
Video initialization failed: Unable to open mouse
However it's on an embedded chip with no mouse, how can I tell SDL not to use one.
Thanks in advance