diff libcore/core/texture.h @ 226:dd7c8d4321a3

misc: miscellaneous cleanups
author David Demelier <markand@malikania.fr>
date Thu, 19 Nov 2020 10:17:04 +0100
parents 633a25df450e
children
line wrap: on
line diff
--- a/libcore/core/texture.h	Wed Nov 18 19:52:14 2020 +0100
+++ b/libcore/core/texture.h	Thu Nov 19 10:17:04 2020 +0100
@@ -29,8 +29,6 @@
 
 #include <stdbool.h>
 
-#include "plat.h"
-
 /**
  * \brief Texture object.
  */
@@ -61,7 +59,7 @@
  * \return False on error.
  */
 bool
-texture_new(struct texture *tex, unsigned int w, unsigned int h) PLAT_NODISCARD;
+texture_new(struct texture *tex, unsigned int w, unsigned int h);
 
 /**
  * Check if the texture is valid.