Sam Lantinga
e3cc5b2c6b
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Sam Lantinga
5fc2017661
Fixed bug 3877 - missing SDLCALL in SDLTest_ExampleHitTestCallback
...
Ozkan Sezer
Following trivial patch adds missing SDLCALL to SDLTest_ExampleHitTestCallback()
2017-10-12 14:25:07 -07:00
Sam Lantinga
9c580e14c9
Added functions to query and set the SDL memory allocation functions:
...
SDL_GetMemoryFunctions()
SDL_SetMemoryFunctions()
SDL_GetNumAllocations()
2017-10-12 13:44:28 -07:00
Sam Lantinga
f4f9e39f62
Fixed bug 3874 - Compiler warnings SDL_Surface.c and SDL_cocoakeyboard.m
2017-10-12 08:41:11 -07:00
Sam Lantinga
0fea9164eb
Added an example for SDL_SetWindowHitTest() when you create a borderless resizable window.
2017-09-22 17:29:32 -07:00
Sam Lantinga
9ca6292372
Added some missing render capability flags
2017-08-29 23:14:39 -07:00
Sam Lantinga
c3d428d402
Fixed line breaks in verbose test logging output
2017-08-29 23:12:26 -07:00
Sam Lantinga
94e0f3e95b
Added some debug messaging for previously unhandled events
2017-08-29 22:52:17 -07:00
Sam Lantinga
ded5b3a4b4
Fixed crash at shutdown if the window couldn't be created
2017-08-27 21:05:18 -07:00
Ryan C. Gordon
25e3a1ec90
vulkan: Initial Vulkan support!
...
This work was done by Jacob Lifshay and Mark Callow; I'm just merging it
into revision control.
2017-08-27 22:15:57 -04:00
Sam Lantinga
b2e2bcc203
Added test debug logs for additional event types
2017-08-12 20:21:34 -07:00
Sam Lantinga
3c852360f6
Fixed bug 3646 - SDL_test_common.c: Add key bindings for testing SDL_SetWindowPosition
...
Eric Wasylishen
Alt-Up/Down/Left/Right switches between displays using SDL_WINDOWPOS_CENTERED_DISPLAY
Shift-Up/Down/Left/Right shifts the window by 100px
2017-08-11 10:42:26 -07:00
Ryan C. Gordon
cff9e5a876
test: info now reports usable display bounds and DPI (thanks, Eric!).
...
Fixes Bugzilla #3652 .
2017-05-18 16:29:10 -04:00
Philipp Wiesemann
33ff5bd148
Fixed typo in log message.
2017-02-03 23:30:29 +01:00
Sam Lantinga
800a72eb17
Switch stderr output to SDL_Log() so it shows up on Windows and mobile devices
2017-01-31 10:19:56 -08:00
Sam Lantinga
45b774e3f7
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Ryan C. Gordon
232ae68864
Still more compiler warning fixes for various platforms.
2016-11-23 17:20:28 -05:00
Ryan C. Gordon
40c2a6fb55
Fixed more compiler warnings.
2016-11-23 11:49:26 -05:00
Sam Lantinga
f1e0b9af20
Added debug output for new window events
2016-09-29 16:10:08 -07:00
Ryan C. Gordon
3bdaf4c611
Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity().
...
This is currently implemented for X11, Cocoa, Windows, and DirectFB.
This patch is based on work in Unreal Engine 4's fork of SDL,
compliments of Epic Games.
2016-01-05 02:46:10 -05:00
Sam Lantinga
42065e785d
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Philipp Wiesemann
0e45984fa0
Fixed crash if initialization of EGL failed but was tried again later.
...
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00