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
cd9690d9
Commit
cd9690d9
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: Move a few more states to the misc states.
parent
a4c85d78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
state.c
dlls/wined3d/state.c
+12
-6
No files found.
dlls/wined3d/state.c
View file @
cd9690d9
...
...
@@ -3844,18 +3844,18 @@ const struct StateEntry FFPStateTable[] =
{
/* 19, WINED3DRS_SRCBLEND */
STATE_RENDER
(
WINED3DRS_ALPHABLENDENABLE
),
NULL
},
{
/* 20, WINED3DRS_DESTBLEND */
STATE_RENDER
(
WINED3DRS_ALPHABLENDENABLE
),
NULL
},
{
/* 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
},
{
/* 22, WINED3DRS_CULLMODE */
STATE_RENDER
(
WINED3DRS_CULLMODE
),
NULL
},
{
/* 23, WINED3DRS_ZFUNC */
STATE_RENDER
(
WINED3DRS_ZFUNC
),
NULL
},
{
/* 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
},
{
/* 26, WINED3DRS_DITHERENABLE */
STATE_RENDER
(
WINED3DRS_DITHERENABLE
),
NULL
},
{
/* 27, WINED3DRS_ALPHABLENDENABLE */
STATE_RENDER
(
WINED3DRS_ALPHABLENDENABLE
),
NULL
},
{
/* 28, WINED3DRS_FOGENABLE */
STATE_RENDER
(
WINED3DRS_FOGENABLE
),
state_fog
},
{
/* 29, WINED3DRS_SPECULARENABLE */
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
NULL
},
{
/* 30, WINED3DRS_ZVISIBLE */
0
/* Not supported according to the msdn */
,
state_nogl
},
{
/* 31, WINED3DRS_SUBPIXEL */
STATE_RENDER
(
WINED3DRS_SUBPIXEL
),
state_subpixel
},
{
/* 32, WINED3DRS_SUBPIXELX */
STATE_RENDER
(
WINED3DRS_SUBPIXELX
),
state_subpixelx
},
{
/* 33, WINED3DRS_STIPPLEDALPHA */
STATE_RENDER
(
WINED3DRS_STIPPLEDALPHA
),
state_stippledalpha
},
{
/* 31, WINED3DRS_SUBPIXEL */
STATE_RENDER
(
WINED3DRS_SUBPIXEL
),
NULL
},
{
/* 32, WINED3DRS_SUBPIXELX */
STATE_RENDER
(
WINED3DRS_SUBPIXELX
),
NULL
},
{
/* 33, WINED3DRS_STIPPLEDALPHA */
STATE_RENDER
(
WINED3DRS_STIPPLEDALPHA
),
NULL
},
{
/* 34, WINED3DRS_FOGCOLOR */
STATE_RENDER
(
WINED3DRS_FOGCOLOR
),
state_fogcolor
},
{
/* 35, WINED3DRS_FOGTABLEMODE */
STATE_RENDER
(
WINED3DRS_FOGENABLE
),
state_fog
},
{
/* 36, WINED3DRS_FOGSTART */
STATE_RENDER
(
WINED3DRS_FOGENABLE
),
state_fog
},
...
...
@@ -4933,6 +4933,12 @@ const struct StateEntryTemplate misc_state_template[] = {
{
STATE_RENDER
(
WINED3DRS_ALPHAFUNC
),
{
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
}},
{
STATE_RENDER
(
WINED3DRS_COLORKEYENABLE
),
{
STATE_RENDER
(
WINED3DRS_ALPHATESTENABLE
),
state_alpha
}},
{
STATE_RENDER
(
WINED3DRS_LASTPIXEL
),
{
STATE_RENDER
(
WINED3DRS_LASTPIXEL
),
state_lastpixel
}},
{
STATE_RENDER
(
WINED3DRS_CULLMODE
),
{
STATE_RENDER
(
WINED3DRS_CULLMODE
),
state_cullmode
}},
{
STATE_RENDER
(
WINED3DRS_ZFUNC
),
{
STATE_RENDER
(
WINED3DRS_ZFUNC
),
state_zfunc
}},
{
STATE_RENDER
(
WINED3DRS_DITHERENABLE
),
{
STATE_RENDER
(
WINED3DRS_DITHERENABLE
),
state_ditherenable
}},
{
STATE_RENDER
(
WINED3DRS_SUBPIXEL
),
{
STATE_RENDER
(
WINED3DRS_SUBPIXEL
),
state_subpixel
}},
{
STATE_RENDER
(
WINED3DRS_SUBPIXELX
),
{
STATE_RENDER
(
WINED3DRS_SUBPIXELX
),
state_subpixelx
}},
{
STATE_RENDER
(
WINED3DRS_STIPPLEDALPHA
),
{
STATE_RENDER
(
WINED3DRS_STIPPLEDALPHA
),
state_stippledalpha
}},
{
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