d3d1x: put proper calling convention in headers, fixes 64-bit builds
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 17:30:34 +0000 (19:30 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 20:20:53 +0000 (22:20 +0200)
src/gallium/state_trackers/d3d1x/gd3dapi/galliumd3d10_1.idl
src/gallium/state_trackers/d3d1x/gd3dapi/galliumd3d11.idl

index d2b72f56a1c71315f2921b36b2c517aabf8efec1..40a0d6a8862e676cf442b6b013f20240bb9d7350 100644 (file)
@@ -27,4 +27,4 @@
 import "ocidl.idl";
 import "d3d10_1.idl";
 
-HRESULT GalliumD3D10DeviceCreate1(struct pipe_screen* screen, struct pipe_context* context, BOOL owns_context, unsigned creation_flags, IDXGIAdapter* adapter, ID3D10Device1** ppDevice);
+HRESULT __stdcall GalliumD3D10DeviceCreate1(struct pipe_screen* screen, struct pipe_context* context, BOOL owns_context, unsigned creation_flags, IDXGIAdapter* adapter, ID3D10Device1** ppDevice);
index 640cbfa881a599ca1bcbff89e06cc28cf7951271..4dca1bcf91bd4d5140e5e7cee7102e784884346f 100644 (file)
@@ -27,5 +27,5 @@
 import "ocidl.idl";
 import "d3d11.idl";
 
-HRESULT GalliumD3D11DeviceCreate(struct pipe_screen* screen, struct pipe_context* context, BOOL owns_context, unsigned creation_flags, IDXGIAdapter* adapter, ID3D11Device** ppDevice);
+HRESULT __stdcall GalliumD3D11DeviceCreate(struct pipe_screen* screen, struct pipe_context* context, BOOL owns_context, unsigned creation_flags, IDXGIAdapter* adapter, ID3D11Device** ppDevice);