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
956bfca1
Commit
956bfca1
authored
Jul 02, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move material application to the vertex pipeline.
parent
141f31f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
state.c
dlls/wined3d/state.c
+4
-2
No files found.
dlls/wined3d/state.c
View file @
956bfca1
...
...
@@ -3849,7 +3849,7 @@ const struct StateEntry FFPStateTable[] =
{
/* 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
},
{
/* 29, WINED3DRS_SPECULARENABLE */
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
state_specularenable
},
{
/* 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
},
...
...
@@ -4887,7 +4887,7 @@ const struct StateEntry FFPStateTable[] =
{
/* STATE_CLIPPLANE(30) */
STATE_CLIPPLANE
(
30
),
clipplane
},
{
/* STATE_CLIPPLANE(31) */
STATE_CLIPPLANE
(
31
),
clipplane
},
{
/* STATE_MATERIAL */
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
state_specularenable
},
{
/* STATE_MATERIAL */
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
NULL
},
{
/* STATE_FRONTFACE */
STATE_FRONTFACE
,
frontface
},
};
...
...
@@ -4910,6 +4910,8 @@ const struct StateEntryTemplate misc_state_template[] = {
const
struct
StateEntryTemplate
ffp_vertexstate_template
[]
=
{
{
STATE_VDECL
,
{
STATE_VDECL
,
vertexdeclaration
}},
{
STATE_VSHADER
,
{
STATE_VDECL
,
vertexdeclaration
}},
{
STATE_MATERIAL
,
{
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
state_specularenable
}},
{
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
{
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
state_specularenable
}},
{
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