diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /drivers/tdfx_vid_test.c | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'drivers/tdfx_vid_test.c')
-rw-r--r-- | drivers/tdfx_vid_test.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/tdfx_vid_test.c b/drivers/tdfx_vid_test.c index af9c86adcf..39a14f5437 100644 --- a/drivers/tdfx_vid_test.c +++ b/drivers/tdfx_vid_test.c @@ -38,9 +38,9 @@ static void print_tdfd_vid_cfg(tdfx_vid_config_t* cfg) { " Screen: %d x %d\n", cfg->version, cfg->ram_size, - cfg->screen_width, cfg->screen_height); + cfg->screen_width, cfg->screen_height); } - + int main(void) { int fd; @@ -63,7 +63,7 @@ int main(void) { close(fd); return 1; } - + print_tdfd_vid_cfg(&cfg); mem = mmap( NULL, 640*480*2, PROT_READ | PROT_WRITE, MAP_SHARED, @@ -79,9 +79,9 @@ int main(void) { /* ptr[1] = (i & 0xFF); */ /* ptr += 2; */ /* } */ - + memset(mem,0xFF,640*480*2); - + memset(&move, 0, sizeof(tdfx_vid_agp_move_t)); move.width = 640; move.height = 240; @@ -92,7 +92,7 @@ int main(void) { printf("AGP Move failed !!!!\n"); return 0; } - + printf("AGP Move ????\n"); sleep(1); @@ -114,7 +114,7 @@ int main(void) { printf("Blit failed !!!!\n"); return 0; } - + close(fd); return 1; } |