Texture alignment macros (#284)

* Add ALIGNED8

* Add designated initializer macro

* Update include/command_macros_base.h

Co-authored-by: rylieb <31797144+rylieb@users.noreply.github.com>

* Remove braces

Co-authored-by: rylieb <31797144+rylieb@users.noreply.github.com>
This commit is contained in:
Anghelo Carvajal
2021-11-04 20:36:02 -03:00
committed by GitHub
parent 418e09bf6f
commit fcb09f5e28
2 changed files with 14 additions and 2 deletions
+6
View File
@@ -139,4 +139,10 @@ extern GraphicsContext* __gfxCtx;
(b) = _temp; \
}
#ifdef __GNUC__
#define ALIGNED8 __attribute__ ((aligned (8)))
#else
#define ALIGNED8
#endif
#endif // _MACROS_H_