Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9b19d755
Commit
9b19d755
authored
Oct 24, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Avoid LPDIRECT3DCUBETEXTURE9.
parent
17e33e9b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
15 deletions
+6
-15
texture.c
dlls/d3dx9_36/texture.c
+5
-14
d3dx9core.h
include/d3dx9core.h
+1
-1
d3dx9tex.h
include/d3dx9tex.h
+0
-0
No files found.
dlls/d3dx9_36/texture.c
View file @
9b19d755
...
...
@@ -949,13 +949,8 @@ HRESULT WINAPI D3DXCreateTextureFromResourceExW(LPDIRECT3DDEVICE9 device,
return
D3DXERR_INVALIDDATA
;
}
HRESULT
WINAPI
D3DXCreateCubeTexture
(
LPDIRECT3DDEVICE9
device
,
UINT
size
,
UINT
miplevels
,
DWORD
usage
,
D3DFORMAT
format
,
D3DPOOL
pool
,
LPDIRECT3DCUBETEXTURE9
*
texture
)
HRESULT
WINAPI
D3DXCreateCubeTexture
(
struct
IDirect3DDevice9
*
device
,
UINT
size
,
UINT
miplevels
,
DWORD
usage
,
D3DFORMAT
format
,
D3DPOOL
pool
,
struct
IDirect3DCubeTexture9
**
texture
)
{
HRESULT
hr
;
...
...
@@ -976,10 +971,8 @@ 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
)
HRESULT
WINAPI
D3DXCreateCubeTextureFromFileInMemory
(
struct
IDirect3DDevice9
*
device
,
const
void
*
data
,
UINT
datasize
,
struct
IDirect3DCubeTexture9
**
texture
)
{
TRACE
(
"(%p, %p, %u, %p)
\n
"
,
device
,
data
,
datasize
,
texture
);
...
...
@@ -1704,9 +1697,7 @@ static float get_cube_coord(enum cube_coord coord, unsigned int x, unsigned int
}
}
HRESULT
WINAPI
D3DXFillCubeTexture
(
LPDIRECT3DCUBETEXTURE9
texture
,
LPD3DXFILL3D
function
,
LPVOID
funcdata
)
HRESULT
WINAPI
D3DXFillCubeTexture
(
struct
IDirect3DCubeTexture9
*
texture
,
LPD3DXFILL3D
function
,
void
*
funcdata
)
{
DWORD
miplevels
;
DWORD
m
,
i
,
x
,
y
,
c
,
f
,
v
;
...
...
include/d3dx9core.h
View file @
9b19d755
...
...
@@ -303,7 +303,7 @@ DECLARE_INTERFACE_(ID3DXRenderToEnvMap, IUnknown)
STDMETHOD
(
GetDevice
)(
THIS_
LPDIRECT3DDEVICE9
*
device
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
D3DXRTE_DESC
*
desc
)
PURE
;
STDMETHOD
(
BeginCube
)(
THIS_
LPDIRECT3DCUBETEXTURE9
cubetex
)
PURE
;
STDMETHOD
(
BeginCube
)(
THIS_
struct
IDirect3DCubeTexture9
*
cubetex
)
PURE
;
STDMETHOD
(
BeginSphere
)(
THIS_
LPDIRECT3DTEXTURE9
tex
)
PURE
;
STDMETHOD
(
BeginHemisphere
)(
THIS_
LPDIRECT3DTEXTURE9
texzpos
,
LPDIRECT3DTEXTURE9
texzneg
)
PURE
;
STDMETHOD
(
BeginParabolic
)(
THIS_
LPDIRECT3DTEXTURE9
texzpos
,
LPDIRECT3DTEXTURE9
texzneg
)
PURE
;
...
...
include/d3dx9tex.h
View file @
9b19d755
This diff is collapsed.
Click to expand it.
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