Mercurial > molko
diff src/texture.h @ 46:b815621df3e3
core: remove all fixed width integers, closes #2460
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 15 Jan 2020 22:31:17 +0100 |
parents | 783841af4033 |
children | f053a9f38c0e |
line wrap: on
line diff
--- a/src/texture.h Wed Jan 15 22:31:17 2020 +0100 +++ b/src/texture.h Wed Jan 15 22:31:17 2020 +0100 @@ -27,7 +27,6 @@ */ #include <stdbool.h> -#include <stdint.h> /** * \brief Texture object. @@ -45,7 +44,7 @@ * \return the texture or NULL on error */ struct texture * -texture_new(uint16_t w, uint16_t h); +texture_new(unsigned int w, unsigned int h); /** * Get texture size. @@ -56,7 +55,7 @@ * \param h the height */ bool -texture_get_size(struct texture *tex, uint16_t *w, uint16_t *h); +texture_get_size(struct texture *tex, unsigned int *w, unsigned int *h); /** * Simple texture drawing.