Commit Graph

6 Commits

Author SHA1 Message Date
Sam Lantinga
1abf1b3fc2 Fixed warnings in -pedantic mode 2006-02-26 05:02:14 +00:00
Ryan C. Gordon
6f65a3b4b8 Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe
if SDL is built with a non-cdecl calling convention, and it's just generally
 bad practice anyhow.

Now programs explicitly call SDL_Quit() where appropriate, wrap SDL_Quit() in
 a cdecl function where it can't be avoided, and rely on the parachute where
 a crash might have hit the atexit() before (these ARE test programs, after
 all!).
2005-09-28 11:36:20 +00:00
Sam Lantinga
9c74d97a17 IRIX patches from Andrea Suatoni 2003-03-06 06:12:41 +00:00
Sam Lantinga
c395fec8fe From: Jonathan Atkins
Subject: testoverlay...

here's a fun one:
./testoverlay -scale -h

it seems to print argv[optind-1] as the program name...
2003-03-06 05:57:29 +00:00
Sam Lantinga
cae60fcfb6 Date: Thu, 16 Jan 2003 13:48:31 +0200
From: "Mike Gorchak"

added help and options -mono to force monochrome RGB2YUB conversion and
-lum <percent> - luminance of image during conversion. Also rewritten code
which moves overlay into window. Now it depends on window size.
Also fully rewritten -scale option, image now scaling from 50% from center
of screen until border of window is reached - it really tests scaler, old
-scale test doesn't test downscale.
2003-01-20 01:36:28 +00:00
Sam Lantinga
f9c91db65a Added a YUV overlay test program (thanks Jon!) 2002-02-14 00:47:46 +00:00