mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -295,7 +295,7 @@
|
|||||||
* float x, y, z, w;
|
* float x, y, z, w;
|
||||||
* } SDL_ALIGNED(16) MySIMDAlignedData;
|
* } SDL_ALIGNED(16) MySIMDAlignedData;
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* // make sure this one field in a struct is aligned to 16 bytes for SIMD access.
|
* // make sure this one field in a struct is aligned to 16 bytes for SIMD access.
|
||||||
* typedef struct {
|
* typedef struct {
|
||||||
* SomeStuff stuff;
|
* SomeStuff stuff;
|
||||||
@@ -312,9 +312,9 @@
|
|||||||
* something that respects this alignment, use SDL_aligned_alloc() or some
|
* something that respects this alignment, use SDL_aligned_alloc() or some
|
||||||
* other mechanism.
|
* other mechanism.
|
||||||
*
|
*
|
||||||
* On compilers without alignment support, this macro is defined to an
|
* On compilers without alignment support, this macro is defined to an invalid
|
||||||
* invalid symbol, to make it clear that the current compiler is likely to
|
* symbol, to make it clear that the current compiler is likely to generate
|
||||||
* generate incorrect code when it sees this macro.
|
* incorrect code when it sees this macro.
|
||||||
*
|
*
|
||||||
* \param x the byte count to align to, so the data's address will be a
|
* \param x the byte count to align to, so the data's address will be a
|
||||||
* multiple of this value.
|
* multiple of this value.
|
||||||
|
Reference in New Issue
Block a user