Fixed documentation for aligned structure members
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled

This commit is contained in:
Sam Lantinga
2025-07-25 13:33:20 -07:00
parent c8e2d13173
commit 970234d62d
+1 -1
View File
@@ -298,7 +298,7 @@
* // make sure this one field in a struct is aligned to 16 bytes for SIMD access.
* typedef struct {
* SomeStuff stuff;
* float position[4] SDL_ALIGNED(16);
* float SDL_ALIGNED(16) position[4];
* SomeOtherStuff other_stuff;
* } MyStruct;
*