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
af9510f4
Commit
af9510f4
authored
Apr 01, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove some unused render states.
parent
e62771f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
utils.c
dlls/wined3d/utils.c
+0
-7
wined3d.idl
include/wine/wined3d.idl
+0
-7
No files found.
dlls/wined3d/utils.c
View file @
af9510f4
...
...
@@ -1497,9 +1497,7 @@ const char* debug_d3dprimitivetype(WINED3DPRIMITIVETYPE PrimitiveType) {
const
char
*
debug_d3drenderstate
(
DWORD
state
)
{
switch
(
state
)
{
#define D3DSTATE_TO_STR(u) case u: return #u
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREHANDLE
);
D3DSTATE_TO_STR
(
WINED3DRS_ANTIALIAS
);
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREADDRESS
);
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREPERSPECTIVE
);
D3DSTATE_TO_STR
(
WINED3DRS_WRAPU
);
D3DSTATE_TO_STR
(
WINED3DRS_WRAPV
);
...
...
@@ -1513,11 +1511,8 @@ const char* debug_d3drenderstate(DWORD state) {
D3DSTATE_TO_STR
(
WINED3DRS_ZWRITEENABLE
);
D3DSTATE_TO_STR
(
WINED3DRS_ALPHATESTENABLE
);
D3DSTATE_TO_STR
(
WINED3DRS_LASTPIXEL
);
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREMAG
);
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREMIN
);
D3DSTATE_TO_STR
(
WINED3DRS_SRCBLEND
);
D3DSTATE_TO_STR
(
WINED3DRS_DESTBLEND
);
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREMAPBLEND
);
D3DSTATE_TO_STR
(
WINED3DRS_CULLMODE
);
D3DSTATE_TO_STR
(
WINED3DRS_ZFUNC
);
D3DSTATE_TO_STR
(
WINED3DRS_ALPHAREF
);
...
...
@@ -1539,8 +1534,6 @@ const char* debug_d3drenderstate(DWORD state) {
D3DSTATE_TO_STR
(
WINED3DRS_EDGEANTIALIAS
);
D3DSTATE_TO_STR
(
WINED3DRS_COLORKEYENABLE
);
D3DSTATE_TO_STR
(
WINED3DRS_BORDERCOLOR
);
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREADDRESSU
);
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREADDRESSV
);
D3DSTATE_TO_STR
(
WINED3DRS_MIPMAPLODBIAS
);
D3DSTATE_TO_STR
(
WINED3DRS_ZBIAS
);
D3DSTATE_TO_STR
(
WINED3DRS_RANGEFOGENABLE
);
...
...
include/wine/wined3d.idl
View file @
af9510f4
...
...
@@ -279,9 +279,7 @@ typedef enum _WINED3DFORMAT
typedef
enum
_WINED3DRENDERSTATETYPE
{
WINED3DRS_TEXTUREHANDLE
=
1
,
/*
d3d7
*/
WINED3DRS_ANTIALIAS
=
2
,
/*
d3d7
*/
WINED3DRS_TEXTUREADDRESS
=
3
,
/*
d3d7
*/
WINED3DRS_TEXTUREPERSPECTIVE
=
4
,
/*
d3d7
*/
WINED3DRS_WRAPU
=
5
,
/*
d3d7
*/
WINED3DRS_WRAPV
=
6
,
/*
d3d7
*/
...
...
@@ -295,11 +293,8 @@ typedef enum _WINED3DRENDERSTATETYPE
WINED3DRS_ZWRITEENABLE
=
14
,
WINED3DRS_ALPHATESTENABLE
=
15
,
WINED3DRS_LASTPIXEL
=
16
,
WINED3DRS_TEXTUREMAG
=
17
,
/*
d3d7
*/
WINED3DRS_TEXTUREMIN
=
18
,
/*
d3d7
*/
WINED3DRS_SRCBLEND
=
19
,
WINED3DRS_DESTBLEND
=
20
,
WINED3DRS_TEXTUREMAPBLEND
=
21
,
/*
d3d7
*/
WINED3DRS_CULLMODE
=
22
,
WINED3DRS_ZFUNC
=
23
,
WINED3DRS_ALPHAREF
=
24
,
...
...
@@ -321,8 +316,6 @@ typedef enum _WINED3DRENDERSTATETYPE
WINED3DRS_EDGEANTIALIAS
=
40
,
/*
d3d7
,
d3d8
*/
WINED3DRS_COLORKEYENABLE
=
41
,
/*
d3d7
*/
WINED3DRS_BORDERCOLOR
=
43
,
/*
d3d7
*/
WINED3DRS_TEXTUREADDRESSU
=
44
,
/*
d3d7
*/
WINED3DRS_TEXTUREADDRESSV
=
45
,
/*
d3d7
*/
WINED3DRS_MIPMAPLODBIAS
=
46
,
/*
d3d7
*/
WINED3DRS_ZBIAS
=
47
,
/*
d3d7
,
d3d8
*/
WINED3DRS_RANGEFOGENABLE
=
48
,
...
...
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