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
ef9be113
Commit
ef9be113
authored
Jan 10, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Don't expose wined3d internal flags to the application.
parent
b55e3d82
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
buffer.c
dlls/d3d8/buffer.c
+2
-2
cubetexture.c
dlls/d3d8/cubetexture.c
+1
-1
surface.c
dlls/d3d8/surface.c
+1
-1
texture.c
dlls/d3d8/texture.c
+1
-1
volume.c
dlls/d3d8/volume.c
+1
-1
volumetexture.c
dlls/d3d8/volumetexture.c
+1
-1
No files found.
dlls/d3d8/buffer.c
View file @
ef9be113
...
...
@@ -243,7 +243,7 @@ static HRESULT WINAPI d3d8_vertexbuffer_GetDesc(IDirect3DVertexBuffer8 *iface,
wined3d_mutex_unlock
();
desc
->
Type
=
D3DRTYPE_VERTEXBUFFER
;
desc
->
Usage
=
wined3d_desc
.
usage
;
desc
->
Usage
=
wined3d_desc
.
usage
&
WINED3DUSAGE_MASK
;
desc
->
Pool
=
wined3d_desc
.
pool
;
desc
->
Size
=
wined3d_desc
.
size
;
desc
->
FVF
=
buffer
->
fvf
;
...
...
@@ -539,7 +539,7 @@ static HRESULT WINAPI d3d8_indexbuffer_GetDesc(IDirect3DIndexBuffer8 *iface,
desc
->
Format
=
d3dformat_from_wined3dformat
(
buffer
->
format
);
desc
->
Type
=
D3DRTYPE_INDEXBUFFER
;
desc
->
Usage
=
wined3d_desc
.
usage
;
desc
->
Usage
=
wined3d_desc
.
usage
&
WINED3DUSAGE_MASK
;
desc
->
Pool
=
wined3d_desc
.
pool
;
desc
->
Size
=
wined3d_desc
.
size
;
...
...
dlls/d3d8/cubetexture.c
View file @
ef9be113
...
...
@@ -268,7 +268,7 @@ static HRESULT WINAPI IDirect3DCubeTexture8Impl_GetLevelDesc(IDirect3DCubeTextur
wined3d_resource_get_desc
(
sub_resource
,
&
wined3d_desc
);
desc
->
Format
=
d3dformat_from_wined3dformat
(
wined3d_desc
.
format
);
desc
->
Type
=
wined3d_desc
.
resource_type
;
desc
->
Usage
=
wined3d_desc
.
usage
;
desc
->
Usage
=
wined3d_desc
.
usage
&
WINED3DUSAGE_MASK
;
desc
->
Pool
=
wined3d_desc
.
pool
;
desc
->
Size
=
wined3d_desc
.
size
;
desc
->
MultiSampleType
=
wined3d_desc
.
multisample_type
;
...
...
dlls/d3d8/surface.c
View file @
ef9be113
...
...
@@ -226,7 +226,7 @@ static HRESULT WINAPI IDirect3DSurface8Impl_GetDesc(IDirect3DSurface8 *iface, D3
desc
->
Format
=
d3dformat_from_wined3dformat
(
wined3d_desc
.
format
);
desc
->
Type
=
wined3d_desc
.
resource_type
;
desc
->
Usage
=
wined3d_desc
.
usage
;
desc
->
Usage
=
wined3d_desc
.
usage
&
WINED3DUSAGE_MASK
;
desc
->
Pool
=
wined3d_desc
.
pool
;
desc
->
Size
=
wined3d_desc
.
size
;
desc
->
MultiSampleType
=
wined3d_desc
.
multisample_type
;
...
...
dlls/d3d8/texture.c
View file @
ef9be113
...
...
@@ -265,7 +265,7 @@ static HRESULT WINAPI IDirect3DTexture8Impl_GetLevelDesc(IDirect3DTexture8 *ifac
wined3d_resource_get_desc
(
sub_resource
,
&
wined3d_desc
);
desc
->
Format
=
d3dformat_from_wined3dformat
(
wined3d_desc
.
format
);
desc
->
Type
=
wined3d_desc
.
resource_type
;
desc
->
Usage
=
wined3d_desc
.
usage
;
desc
->
Usage
=
wined3d_desc
.
usage
&
WINED3DUSAGE_MASK
;
desc
->
Pool
=
wined3d_desc
.
pool
;
desc
->
Size
=
wined3d_desc
.
size
;
desc
->
MultiSampleType
=
wined3d_desc
.
multisample_type
;
...
...
dlls/d3d8/volume.c
View file @
ef9be113
...
...
@@ -207,7 +207,7 @@ static HRESULT WINAPI IDirect3DVolume8Impl_GetDesc(IDirect3DVolume8 *iface, D3DV
desc
->
Format
=
d3dformat_from_wined3dformat
(
wined3d_desc
.
format
);
desc
->
Type
=
wined3d_desc
.
resource_type
;
desc
->
Usage
=
wined3d_desc
.
usage
;
desc
->
Usage
=
wined3d_desc
.
usage
&
WINED3DUSAGE_MASK
;
desc
->
Pool
=
wined3d_desc
.
pool
;
desc
->
Size
=
wined3d_desc
.
size
;
desc
->
Width
=
wined3d_desc
.
width
;
...
...
dlls/d3d8/volumetexture.c
View file @
ef9be113
...
...
@@ -265,7 +265,7 @@ static HRESULT WINAPI IDirect3DVolumeTexture8Impl_GetLevelDesc(IDirect3DVolumeTe
wined3d_resource_get_desc
(
sub_resource
,
&
wined3d_desc
);
desc
->
Format
=
d3dformat_from_wined3dformat
(
wined3d_desc
.
format
);
desc
->
Type
=
wined3d_desc
.
resource_type
;
desc
->
Usage
=
wined3d_desc
.
usage
;
desc
->
Usage
=
wined3d_desc
.
usage
&
WINED3DUSAGE_MASK
;
desc
->
Pool
=
wined3d_desc
.
pool
;
desc
->
Size
=
wined3d_desc
.
size
;
desc
->
Width
=
wined3d_desc
.
width
;
...
...
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