SDL/src/render
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
..
direct3d Fixed bugs 2677 and 2625, made it possible to lock render targets in D3D 2014-08-16 23:17:47 -07:00
direct3d11 The YUV offset is 16 / 255, not 16 / 256 2014-07-03 10:22:12 -07:00
opengl Take advantage of GL_ARB_texture_non_power_of_two when it's available 2014-08-14 21:31:50 -07:00
opengles Fixed bug 2421 - SDL_RenderCopyEx off by one when rotating by 90 and -90 2014-07-07 23:26:34 -07:00
opengles2 Fixed warnings about unused local variables. 2014-08-12 23:37:12 +02:00
psp Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
software Fixed uninitialized variable in some cases 2014-07-27 17:43:36 -07:00
mmx.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_d3dmath.c Fixes #2529, guard SDL_d3math.* with the proper defines 2014-05-10 16:23:06 -03:00
SDL_d3dmath.h Fixes #2529, guard SDL_d3math.* with the proper defines 2014-05-10 16:23:06 -03:00
SDL_render.c Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function 2014-08-16 23:30:44 -07:00
SDL_sysrender.h Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
SDL_yuv_mmx.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_yuv_sw.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_yuv_sw_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00