SDL/src
Sam Lantinga 529ed53b16 Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function
Nitz

In SDL_CreateTextureFromSurface:

SDL_PixelFormat *dst_fmt;
/* Set up a destination surface for the texture update */
         dst_fmt = SDL_AllocFormat(format);
            temp = SDL_ConvertSurface(surface, dst_fmt, 0);

Here is need of NULL check for dst_fmt because there are chances of NULL return from SDL_AllocFormat(format);
2014-08-16 23:30:44 -07:00
..
atomic Fixed bug 2618 - incomplete pthread-based lock support should be removed 2014-07-07 21:27:42 -07:00
audio Fixed typo in source comment. 2014-08-11 23:18:35 +02:00
core Dont redeclare DBusMessage* msg; 2014-07-18 14:10:45 -07:00
cpuinfo WinRT build fix for ARM platforms 2014-08-10 22:21:21 -04:00
dynapi Added SDL_round(), contributed by Benoit Pierre - thanks! 2014-08-16 23:23:15 -07:00
events Fixed compiler warnings on iOS 2014-07-07 11:00:25 -07:00
file Fixed bug 2631 - Mac: minor code cleanup 2014-07-07 12:48:25 -07:00
filesystem Implemented SDL_GetPrefPath() on Android - it returns the path used by SDL_AndroidGetInternalStoragePath() 2014-08-11 17:25:53 -07:00
haptic Haptic: Fix clamping bugs on Windows, by using the Darwin haptics code. 2014-08-16 16:49:00 -04:00
joystick Added an entry for the new Steam controller XInput emulation mode 2014-08-11 17:24:54 -07:00
libm Added SDL_round(), contributed by Benoit Pierre - thanks! 2014-08-16 23:23:15 -07:00
loadso Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
main Remove dependency on C runtime from Windows SDLmain. 2014-07-27 19:52:52 -04:00
power Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
render Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function 2014-08-16 23:30:44 -07:00
stdlib Added SDL_round(), contributed by Benoit Pierre - thanks! 2014-08-16 23:23:15 -07:00
test Added NV12 and NV21 texture support for OpenGL and OpenGL ES 2.0 renderers 2014-08-06 11:34:54 -07:00
thread Fixed bug 2556 - add compilation flag -Wshadow 2014-06-25 00:43:10 -07:00
timer Fixed compiler warnings on iOS 2014-07-07 11:00:25 -07:00
video Fixed bug 2687 - SDL_BlitScaled does not handle clipping correctly 2014-08-16 23:25:02 -07:00
SDL.c Added NaCl to SDL_GetPlatform() 2014-06-21 11:48:12 -07:00
SDL_assert.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_assert_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_error.c Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_error_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_hints.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_internal.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_log.c Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00