Sam Lantinga
e225c6a323
Fixed building using MinGW
...
Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
2013-10-17 23:02:29 -07:00
Sam Lantinga
1669b466da
Fixed compiling on Mac OS X, added a system RAM test
2013-10-17 11:56:33 -07:00
Sam Lantinga
a79a5f384f
Fixed bug 2149 - Don't search for libusbhid except on BSD
...
Joseph Carter
There's a whole set of configure tests for BSD's libusbhid, and they only matter on BSD. However, if you have the library on Linux, it gets pulled in as library bloat. And it's bloat of the highest order since not a single function call to the library is ever made unless you're on a *BSD.
2013-10-13 19:49:45 -07:00
Edward Rudd
329c6cd9ee
added simple Drag & drop test
2013-10-12 11:21:40 -04:00
Sam Lantinga
02eded2276
Updated SDL to version 2.0.1
2013-10-10 21:50:25 -07:00
Gabriel Jacobo
9959bb23ac
Adds gl_profile_mask to test framework, uses it in testgles
2013-10-10 00:49:57 -03:00
Gabriel Jacobo
f3f6e6f62c
Fixes testgles and testgl
2013-10-09 11:30:01 -03:00
Sam Lantinga
8f92b6d857
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
1661dd506b
Report an error if creating a render target fails
2013-10-03 21:41:09 -07:00
Edward Rudd
f2e7fb4fea
add in High DPI support (aka Retina)
...
- based on J?rgen's patch with a few bug fixes
2013-09-20 13:43:00 -04:00
Sam Lantinga
a7a55fd629
Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).
2013-08-29 08:30:21 -07:00
Sam Lantinga
af3541ce5e
Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
2013-08-29 08:29:51 -07:00
Sam Lantinga
f7fda2b389
Christoph Mallon: Remove pointless if (x) before SDL_free(x)
2013-08-29 08:29:21 -07:00
Ryan C. Gordon
4296551a49
Fixed testgamecontroller output to make sense.
2013-08-28 00:07:02 -04:00
Gabriel Jacobo
ed6692ec28
[Linux] Test config script: Add the X11 library search path if it is not empty
...
If ac_x_libraries is empty it means that the library's found in the default path,
so we skip adding it to the XLIB variable as it screws up the search path.
2013-08-28 12:43:29 -03:00
Gabriel Jacobo
fcbd17d648
Fixes test building
2013-08-28 10:41:25 -03:00
Gabriel Jacobo
fde7308882
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Gabriel Jacobo
28046de503
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03:00
Ryan C. Gordon
c9218e986d
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
2013-08-20 19:57:11 -04:00
Gabriel Jacobo
b3ca66a00f
More non C89 compliant comments
2013-08-20 20:34:40 -03:00
Andreas Schiffler
25a28bb7d9
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
1ad936eb29
Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow()
...
Rainer Deyke
I'm running Linux Mint 15 with the Cinnamon window manager. SDL_DestroyWindow consistently locks up for me when the window if fullscreen.
2013-08-11 19:56:43 -07:00