Changed an error return value from 0 to NULL for consistency.
diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index 088fe7c..f00688b 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -457,7 +457,7 @@ SDL_CreateTexture(SDL_Renderer * renderer, Uint32 format, int access, int w, int
if (IsSupportedFormat(renderer, format)) {
if (renderer->CreateTexture(renderer, texture) < 0) {
SDL_DestroyTexture(texture);
- return 0;
+ return NULL;
}
} else {
texture->native = SDL_CreateTexture(renderer,