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
58ef02fa
Commit
58ef02fa
authored
Jul 02, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Alpha states -> misc pipeline states.
parent
5f3b11e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
state.c
dlls/wined3d/state.c
+8
-4
No files found.
dlls/wined3d/state.c
View file @
58ef02fa
...
...
@@ -3837,7 +3837,7 @@ const struct StateEntry FFPStateTable[] =
{
/* 12, WINED3DRS_ROP2 */
STATE_RENDER
(
WINED3DRS_ROP2
),
NULL
},
{
/* 13, WINED3DRS_PLANEMASK */
STATE_RENDER
(
WINED3DRS_PLANEMASK
),
NULL
},
{
/* 14, WINED3DRS_ZWRITEENABLE */
STATE_RENDER
(
WINED3DRS_ZWRITEENABLE
),
NULL
},
{
/* 15, WINED3DRS_ALPHATESTENABLE */
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
},
{
/* 15, WINED3DRS_ALPHATESTENABLE */
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
NULL
},
{
/* 16, WINED3DRS_LASTPIXEL */
STATE_RENDER
(
WINED3DRS_LASTPIXEL
),
state_lastpixel
},
{
/* 17, WINED3DRS_TEXTUREMAG */
0
/* Handled in ddraw */
,
state_undefined
},
{
/* 18, WINED3DRS_TEXTUREMIN */
0
/* Handled in ddraw */
,
state_undefined
},
...
...
@@ -3846,8 +3846,8 @@ const struct StateEntry FFPStateTable[] =
{
/* 21, WINED3DRS_TEXTUREMAPBLEND */
0
/* Handled in ddraw */
,
state_undefined
},
{
/* 22, WINED3DRS_CULLMODE */
STATE_RENDER
(
WINED3DRS_CULLMODE
),
state_cullmode
},
{
/* 23, WINED3DRS_ZFUNC */
STATE_RENDER
(
WINED3DRS_ZFUNC
),
state_zfunc
},
{
/* 24, WINED3DRS_ALPHAREF */
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
},
{
/* 25, WINED3DRS_ALPHAFUNC */
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
},
{
/* 24, WINED3DRS_ALPHAREF */
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
NULL
},
{
/* 25, WINED3DRS_ALPHAFUNC */
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
NULL
},
{
/* 26, WINED3DRS_DITHERENABLE */
STATE_RENDER
(
WINED3DRS_DITHERENABLE
),
state_ditherenable
},
{
/* 27, WINED3DRS_ALPHABLENDENABLE */
STATE_RENDER
(
WINED3DRS_ALPHABLENDENABLE
),
NULL
},
{
/* 28, WINED3DRS_FOGENABLE */
STATE_RENDER
(
WINED3DRS_FOGENABLE
),
state_fog
},
...
...
@@ -3863,7 +3863,7 @@ const struct StateEntry FFPStateTable[] =
{
/* 38, WINED3DRS_FOGDENSITY */
STATE_RENDER
(
WINED3DRS_FOGDENSITY
),
state_fogdensity
},
{
/* 39, WINED3DRS_STIPPLEENABLE */
STATE_RENDER
(
WINED3DRS_STIPPLEENABLE
),
state_stippleenable
},
{
/* 40, WINED3DRS_EDGEANTIALIAS */
STATE_RENDER
(
WINED3DRS_ALPHABLENDENABLE
),
NULL
},
{
/* 41, WINED3DRS_COLORKEYENABLE */
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
},
{
/* 41, WINED3DRS_COLORKEYENABLE */
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
NULL
},
{
/* 42, undefined */
0
,
state_undefined
},
{
/* 43, WINED3DRS_BORDERCOLOR */
STATE_RENDER
(
WINED3DRS_BORDERCOLOR
),
state_bordercolor
},
{
/* 44, WINED3DRS_TEXTUREADDRESSU */
0
,
/* Handled in ddraw */
state_undefined
},
...
...
@@ -4928,6 +4928,10 @@ const struct StateEntryTemplate misc_state_template[] = {
{
STATE_RENDER
(
WINED3DRS_ROP2
),
{
STATE_RENDER
(
WINED3DRS_ROP2
),
state_rop2
}},
{
STATE_RENDER
(
WINED3DRS_PLANEMASK
),
{
STATE_RENDER
(
WINED3DRS_PLANEMASK
),
state_planemask
}},
{
STATE_RENDER
(
WINED3DRS_ZWRITEENABLE
),
{
STATE_RENDER
(
WINED3DRS_ZWRITEENABLE
),
state_zwritenable
}},
{
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
{
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
}},
{
STATE_RENDER
(
WINED3DRS_ALPHAREF
),
{
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
}},
{
STATE_RENDER
(
WINED3DRS_ALPHAFUNC
),
{
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
}},
{
STATE_RENDER
(
WINED3DRS_COLORKEYENABLE
),
{
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
}},
{
0
/* Terminate */
,
{
0
,
0
}},
};
...
...
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