Skip to content

Commit 970234d

Browse files
committed
Fixed documentation for aligned structure members
1 parent c8e2d13 commit 970234d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/SDL3/SDL_begin_code.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
* // make sure this one field in a struct is aligned to 16 bytes for SIMD access.
299299
* typedef struct {
300300
* SomeStuff stuff;
301-
* float position[4] SDL_ALIGNED(16);
301+
* float SDL_ALIGNED(16) position[4];
302302
* SomeOtherStuff other_stuff;
303303
* } MyStruct;
304304
*

0 commit comments

Comments
 (0)