src/render/SDL_render.c
changeset 9849 1305bfa0214e
parent 9762 5c4a85c5b648
child 9968 0a420ec24b6a
     1.1 --- a/src/render/SDL_render.c	Fri Aug 21 00:19:36 2015 -0300
     1.2 +++ b/src/render/SDL_render.c	Fri Aug 21 23:50:37 2015 +0200
     1.3 @@ -457,7 +457,7 @@
     1.4      if (IsSupportedFormat(renderer, format)) {
     1.5          if (renderer->CreateTexture(renderer, texture) < 0) {
     1.6              SDL_DestroyTexture(texture);
     1.7 -            return 0;
     1.8 +            return NULL;
     1.9          }
    1.10      } else {
    1.11          texture->native = SDL_CreateTexture(renderer,