DFBCHECK(primary->StretchBlit(primary,logo,NULL,NULL));
}
DFBCHECK(primary->Flip(primary,NULL,DSFLIP_WAITFORSYNC));
- DFBCHECK(k_buf->WaitForEventWithTimeout(k_buf,atoi(argv[1]),0));
+ // k_buf->WaitForEventWithTimeout(k_buf,atoi(argv[1]),0);
+ DFBCHECK(k_buf->Reset(k_buf));
+ DFBCHECK(k_buf->PostEvent(k_buf,DFB_EVENT(&k_event)));
+ sleep(atoi(argv[1]));
logo->Release(logo);
++i;
}
return 23; /* ;) */
}
-