Skip to content

Commit

Permalink
Don't change the calling convention of x86 gfx api
Browse files Browse the repository at this point in the history
Upstream MediaSDK, since ae85eb2, uses __cdecl, which corresponds to
WINAPIV in mingw64 and MSDK. The removal of APIENTRY (since f45c0c2)
changes the calling convention from __stdcall.

The removal of the '@' name decorations (also gone since f45c0c2)
remains.

Co-authored-by: Steve Lhomme <[email protected]>
  • Loading branch information
2 people authored and lu-zero committed Oct 20, 2021
1 parent f45c0c2 commit 7e4d221
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/intel_api_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ extern "C"
{
#endif /* __cplusplus */

HRESULT InitialiseMediaSession(_Out_ HANDLE* handle, _In_ LPVOID lpParam, _Reserved_ LPVOID lpReserved);
HRESULT DisposeMediaSession(_In_ const HANDLE handle);
HRESULT WINAPIV InitialiseMediaSession(_Out_ HANDLE* handle, _In_ LPVOID lpParam, _Reserved_ LPVOID lpReserved);
HRESULT WINAPIV DisposeMediaSession(_In_ const HANDLE handle);

#ifdef __cplusplus
}
Expand Down

0 comments on commit 7e4d221

Please sign in to comment.