Sam Lantinga
d7940a513e
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Sam Lantinga
583198f72e
Fixed bug 2132 - Tests may use invalid SDL_window pointers when windows are closed
...
norfanin
Some of the tests keep using the pointers of a destroyed SDL_Window when the common event handling handled the close event. The event handler itself does not NULL the pointer after the destruction.
The attached patch adds a loop in the handler that will assign NULL to the destroyed window. It also adds checks to some of the tests so they skip those windows by checking for NULL.
2013-10-05 19:09:03 -07:00
Sam Lantinga
75add55896
Report an error if creating a render target fails
2013-10-03 21:41:09 -07:00
Andreas Schiffler
16a40598f6
Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
2013-08-14 23:30:10 -07:00
Sam Lantinga
e2a14cf5dd
Updated the copyright year for the test programs
2013-07-25 09:51:21 -07:00
Philipp Wiesemann
e44d24ff29
Removed unused variables to fix warnings in test program.
2013-07-24 22:19:01 +02:00
Sam Lantinga
32188834b5
Updated blend semantics so blending uses the following formula:
...
dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA))
dstA = srcA + (dstA * (1-srcA))
This allows proper compositing semantics without requiring premultiplied alpha.
Needs full unit test coverage and bug fixes!
2013-07-23 08:06:49 -07:00
Sam Lantinga
63b082da83
Removed unused window size constants
2013-03-17 09:47:25 -07:00
Sam Lantinga
ac0f89315c
Switched the test code over to use the common functions in the test library.
2012-12-31 10:26:38 -08:00
Sam Lantinga
0458fa488a
Renamed SetTargetTexture() to SetRenderTarget()
2012-01-22 01:26:28 -05:00
Sam Lantinga
a49a88676f
Implementation of render targets, by Mason Wheeler and Gabriel Jacobo
...
Thanks guys!
2012-01-18 22:45:49 -05:00