diff options
author | Axel Davy <axel.davy@ens.fr> | 2016-02-07 12:29:45 +0100 |
---|---|---|
committer | Axel Davy <axel.davy@ens.fr> | 2016-02-12 23:26:36 +0100 |
commit | 77d6c11f8fa87ba1070028cb036807dc8a115633 (patch) | |
tree | e1b16872220df1c94b7dbc2d790d374e386e13a7 /src/gallium/state_trackers/nine/vertexdeclaration9.h | |
parent | d7a5468da9796af193e65cd5823525b97dfed2df (diff) | |
download | external_mesa3d-77d6c11f8fa87ba1070028cb036807dc8a115633.zip external_mesa3d-77d6c11f8fa87ba1070028cb036807dc8a115633.tar.gz external_mesa3d-77d6c11f8fa87ba1070028cb036807dc8a115633.tar.bz2 |
st/nine: Align stack for entry points
For 32 bits, incoming stack is 4-byte aligned.
We need to realign the stack to 16-byte at some point,
or there are issues later (crash with SSE, llvm, etc).
This patch chooses to align the stack at API entry points.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'src/gallium/state_trackers/nine/vertexdeclaration9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/vertexdeclaration9.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/vertexdeclaration9.h b/src/gallium/state_trackers/nine/vertexdeclaration9.h index e39f259..9d3b1bd 100644 --- a/src/gallium/state_trackers/nine/vertexdeclaration9.h +++ b/src/gallium/state_trackers/nine/vertexdeclaration9.h @@ -73,7 +73,7 @@ NineVertexDeclaration9_ctor( struct NineVertexDeclaration9 *This, void NineVertexDeclaration9_dtor( struct NineVertexDeclaration9 *This ); -HRESULT WINAPI +HRESULT NINE_WINAPI NineVertexDeclaration9_GetDeclaration( struct NineVertexDeclaration9 *This, D3DVERTEXELEMENT9 *pElement, UINT *pNumElements ); |