d3dx9: Forward D3DXCreateCubeTextureFromFileInMemory to D3DXCreateCubeTextureFromFileInMemoryEx.
This commit is contained in:
parent
3a210af107
commit
dfd66e5fe0
|
@ -38,7 +38,7 @@
|
|||
@ stub D3DXCreateCubeTextureFromFileA(ptr ptr ptr)
|
||||
@ stub D3DXCreateCubeTextureFromFileExA(ptr ptr long long long long long long long long ptr ptr ptr)
|
||||
@ stub D3DXCreateCubeTextureFromFileExW(ptr ptr long long long long long long long long ptr ptr ptr)
|
||||
@ stub D3DXCreateCubeTextureFromFileInMemory(ptr ptr long ptr)
|
||||
@ stdcall D3DXCreateCubeTextureFromFileInMemory(ptr ptr long ptr)
|
||||
@ stdcall D3DXCreateCubeTextureFromFileInMemoryEx(ptr ptr long long long long long long long long long ptr ptr ptr)
|
||||
@ stub D3DXCreateCubeTextureFromFileW(ptr ptr ptr)
|
||||
@ stub D3DXCreateCubeTextureFromResourceA(ptr long ptr ptr)
|
||||
|
|
|
@ -908,6 +908,17 @@ HRESULT WINAPI D3DXCreateCubeTexture(LPDIRECT3DDEVICE9 device,
|
|||
return IDirect3DDevice9_CreateCubeTexture(device, size, miplevels, usage, format, pool, texture, NULL);
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DXCreateCubeTextureFromFileInMemory(LPDIRECT3DDEVICE9 device,
|
||||
LPCVOID data,
|
||||
UINT datasize,
|
||||
LPDIRECT3DCUBETEXTURE9 *texture)
|
||||
{
|
||||
TRACE("(%p, %p, %u, %p)\n", device, data, datasize, texture);
|
||||
|
||||
return D3DXCreateCubeTextureFromFileInMemoryEx(device, data, datasize, D3DX_DEFAULT, D3DX_DEFAULT,
|
||||
0, D3DFMT_UNKNOWN, D3DPOOL_MANAGED, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, texture);
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DXCreateVolumeTexture(LPDIRECT3DDEVICE9 device,
|
||||
UINT width,
|
||||
UINT height,
|
||||
|
|
Loading…
Reference in New Issue