src/render/psp/SDL_render_psp.c
changeset 7037 3fedf1f25b94
parent 7009 161b7b6a5303
child 7096 640f553441e4
     1.1 --- a/src/render/psp/SDL_render_psp.c	Fri Mar 29 21:29:57 2013 -0400
     1.2 +++ b/src/render/psp/SDL_render_psp.c	Sun Mar 31 12:48:50 2013 -0400
     1.3 @@ -493,9 +493,8 @@
     1.4  	
     1.5  	if(!psp_texture->data)
     1.6  	{
     1.7 -		SDL_OutOfMemory();
     1.8  		SDL_free(psp_texture);
     1.9 -		return -1;
    1.10 +		return SDL_OutOfMemory();
    1.11  	}
    1.12      texture->driverdata = psp_texture;
    1.13