From 5046858528f3a080fdd06f47df0394b05aeafd37 Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Tue, 6 Apr 2010 21:44:22 +0200 Subject: [PATCH] d3dx9_36: Add stub for D3DXCreateTextureFromFileA. --- dlls/d3dx9_36/d3dx9_36.spec | 2 +- dlls/d3dx9_36/texture.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/d3dx9_36/d3dx9_36.spec b/dlls/d3dx9_36/d3dx9_36.spec index 5c5a1a61f70..0151f00a9ac 100644 --- a/dlls/d3dx9_36/d3dx9_36.spec +++ b/dlls/d3dx9_36/d3dx9_36.spec @@ -93,7 +93,7 @@ @ stub D3DXCreateTextA @ stub D3DXCreateTextW @ stdcall D3DXCreateTexture(ptr long long long long long long ptr) -@ stub D3DXCreateTextureFromFileA +@ stdcall D3DXCreateTextureFromFileA(ptr ptr ptr) @ stub D3DXCreateTextureFromFileExA @ stdcall D3DXCreateTextureFromFileExW(ptr ptr long long long long long long long long long ptr ptr ptr) @ stub D3DXCreateTextureFromFileInMemory diff --git a/dlls/d3dx9_36/texture.c b/dlls/d3dx9_36/texture.c index 2b1b468d3ff..9454615f89c 100644 --- a/dlls/d3dx9_36/texture.c +++ b/dlls/d3dx9_36/texture.c @@ -107,3 +107,12 @@ HRESULT WINAPI D3DXCreateTextureFromFileExW(LPDIRECT3DDEVICE9 device, return hr; } + +HRESULT WINAPI D3DXCreateTextureFromFileA(LPDIRECT3DDEVICE9 device, + LPCSTR srcfile, + LPDIRECT3DTEXTURE9 *texture) +{ + FIXME("(%p, %s, %p): stub\n", device, debugstr_a(srcfile), texture); + + return E_NOTIMPL; +}