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
dfd66e5f
Commit
dfd66e5f
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: Forward D3DXCreateCubeTextureFromFileInMemory to D3DXCreateCubeTextureFromFileInMemoryEx.
parent
3a210af1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
texture.c
dlls/d3dx9_36/texture.c
+11
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
dfd66e5f
...
...
@@ -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)
@ st
ub
D3DXCreateCubeTextureFromFileInMemory(ptr ptr long ptr)
@ st
dcall
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)
...
...
dlls/d3dx9_36/texture.c
View file @
dfd66e5f
...
...
@@ -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
,
...
...
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