Mercurial > molko
diff libmlk-core/mlk/core/texture.c @ 437:e1eebc6bf25d
man: initial import
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 16 Oct 2022 13:21:40 +0200 |
parents | 8f59201dc76b |
children | 773a082f0b91 |
line wrap: on
line diff
--- a/libmlk-core/mlk/core/texture.c Sun Oct 16 09:12:52 2022 +0200 +++ b/libmlk-core/mlk/core/texture.c Sun Oct 16 13:21:40 2022 +0200 @@ -39,7 +39,7 @@ if (!tex->handle) { tex->w = tex->h = 0; - return ERR_SDL; + return MLK_ERR_SDL; } tex->w = w; @@ -166,7 +166,7 @@ if (!(tex->handle = SDL_CreateTextureFromSurface(RENDERER(), surface))) { tex->w = tex->h = 0; - return ERR_SDL; + return MLK_ERR_SDL; } tex->w = surface->w;