From 970234d62df8f1cec5e2b2d8ed10446fb9180082 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 25 Jul 2025 13:33:20 -0700
Subject: [PATCH] Fixed documentation for aligned structure members
---
include/SDL3/SDL_begin_code.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/SDL3/SDL_begin_code.h b/include/SDL3/SDL_begin_code.h
index e306a90652544..e6e3c689a5228 100644
--- a/include/SDL3/SDL_begin_code.h
+++ b/include/SDL3/SDL_begin_code.h
@@ -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;
*