Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e0f2d4cf
Commit
e0f2d4cf
authored
Mar 25, 2012
by
Józef Kucia
Committed by
Alexandre Julliard
Mar 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Add stubs for D3DXCreateVolumeTextureFromFileInMemory functions.
parent
dfd66e5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
2 deletions
+38
-2
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+2
-2
texture.c
dlls/d3dx9_36/texture.c
+36
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
e0f2d4cf
...
...
@@ -110,8 +110,8 @@
@ stub D3DXCreateVolumeTextureFromFileA(ptr ptr ptr)
@ stub D3DXCreateVolumeTextureFromFileExA(ptr ptr long long long long long long long long long long ptr ptr ptr)
@ stub D3DXCreateVolumeTextureFromFileExW(ptr ptr long long long long long long long long long long ptr ptr ptr)
@ st
ub
D3DXCreateVolumeTextureFromFileInMemory(ptr ptr long ptr)
@ st
ub
D3DXCreateVolumeTextureFromFileInMemoryEx(ptr ptr long long long long long long long long long long long ptr ptr ptr)
@ st
dcall
D3DXCreateVolumeTextureFromFileInMemory(ptr ptr long ptr)
@ st
dcall
D3DXCreateVolumeTextureFromFileInMemoryEx(ptr ptr long long long long long long long long long long long ptr ptr ptr)
@ stub D3DXCreateVolumeTextureFromFileW(ptr ptr ptr)
@ stub D3DXCreateVolumeTextureFromResourceA(ptr long ptr ptr)
@ stub D3DXCreateVolumeTextureFromResourceExA(ptr long ptr long long long long long long long long long long ptr ptr ptr)
...
...
dlls/d3dx9_36/texture.c
View file @
e0f2d4cf
...
...
@@ -950,6 +950,42 @@ HRESULT WINAPI D3DXCreateVolumeTexture(LPDIRECT3DDEVICE9 device,
usage
,
format
,
pool
,
texture
,
NULL
);
}
HRESULT
WINAPI
D3DXCreateVolumeTextureFromFileInMemory
(
LPDIRECT3DDEVICE9
device
,
LPCVOID
data
,
UINT
datasize
,
LPDIRECT3DVOLUMETEXTURE9
*
texture
)
{
TRACE
(
"(%p, %p, %u, %p)
\n
"
,
device
,
data
,
datasize
,
texture
);
return
D3DXCreateVolumeTextureFromFileInMemoryEx
(
device
,
data
,
datasize
,
D3DX_DEFAULT
,
D3DX_DEFAULT
,
D3DX_DEFAULT
,
D3DX_DEFAULT
,
0
,
D3DFMT_UNKNOWN
,
D3DPOOL_MANAGED
,
D3DX_DEFAULT
,
D3DX_DEFAULT
,
0
,
NULL
,
NULL
,
texture
);
}
HRESULT
WINAPI
D3DXCreateVolumeTextureFromFileInMemoryEx
(
LPDIRECT3DDEVICE9
device
,
LPCVOID
data
,
UINT
datasize
,
UINT
width
,
UINT
height
,
UINT
depth
,
UINT
miplevels
,
DWORD
usage
,
D3DFORMAT
format
,
D3DPOOL
pool
,
DWORD
filter
,
DWORD
mipfilter
,
D3DCOLOR
colorkey
,
D3DXIMAGE_INFO
*
imageinfo
,
PALETTEENTRY
*
palette
,
LPDIRECT3DVOLUMETEXTURE9
*
texture
)
{
FIXME
(
"(%p, %p, %u, %u, %u, %u, %u, %#x, %#x, %#x, %#x, %#x, %#x, %p, %p, %p) : stub
\n
"
,
device
,
data
,
datasize
,
width
,
height
,
depth
,
miplevels
,
usage
,
format
,
pool
,
filter
,
mipfilter
,
colorkey
,
imageinfo
,
palette
,
texture
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DXFillTexture
(
LPDIRECT3DTEXTURE9
texture
,
LPD3DXFILL2D
function
,
LPVOID
funcdata
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment