From 5e81b9c88b2614db891fe8330d9f59357c9db6ec Mon Sep 17 00:00:00 2001 From: Mikhail Paulyshka Date: Tue, 14 Aug 2018 19:45:58 +0300 Subject: [PATCH] [d3d10] added missing __stdcall --- src/d3d10/d3d10_main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/d3d10/d3d10_main.cpp b/src/d3d10/d3d10_main.cpp index c4fe244d..576c9dab 100644 --- a/src/d3d10/d3d10_main.cpp +++ b/src/d3d10/d3d10_main.cpp @@ -44,7 +44,7 @@ extern "C" { } - DLLEXPORT HRESULT D3D10CreateDevice1( + DLLEXPORT HRESULT __stdcall D3D10CreateDevice1( IDXGIAdapter* pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software, @@ -105,7 +105,7 @@ extern "C" { } - DLLEXPORT HRESULT D3D10CreateDevice( + DLLEXPORT HRESULT __stdcall D3D10CreateDevice( IDXGIAdapter* pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software, @@ -130,7 +130,7 @@ extern "C" { } - DLLEXPORT HRESULT D3D10CreateDeviceAndSwapChain1( + DLLEXPORT HRESULT __stdcall D3D10CreateDeviceAndSwapChain1( IDXGIAdapter* pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software, @@ -188,7 +188,7 @@ extern "C" { } - DLLEXPORT HRESULT D3D10CreateDeviceAndSwapChain( + DLLEXPORT HRESULT __stdcall D3D10CreateDeviceAndSwapChain( IDXGIAdapter* pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software,