From: hackbard Date: Thu, 27 Feb 2003 16:03:59 +0000 (+0000) Subject: - X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=bd13185a009ff54039ee7276a59fa77b2886b0fc;p=my-code%2Fivac.git - --- diff --git a/dfb_api.c b/dfb_api.c index 8ed8fd3..6f28b59 100644 --- a/dfb_api.c +++ b/dfb_api.c @@ -150,8 +150,8 @@ int flip_it(void) { } DVFrameCallback video_callback(void) { - primary->Blit(primary,video,NULL,0,0); - // flip_it; + puts("callback flip"); + flip_it; return DFENUM_OK; } @@ -164,8 +164,8 @@ int main (int argc, char **argv) { create_primary_surface(); - create_video_surface(); - // create_logo_surface(); + // create_video_surface(); + create_logo_surface(); get_primary_surface_size(); printf("primary surface width/height: %d/%d\n",screen_width,screen_height); @@ -173,11 +173,11 @@ int main (int argc, char **argv) { clear_screen(primary); puts("main: blit video"); - blit_video(); - // blit_logo(); + // blit_video(); + blit_logo(); // puts("main: flip"); - // flip_it(); + flip_it(); sleep(10);