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
f2602486
Commit
f2602486
authored
Dec 08, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make WINED3DRS_RANGEFOGENABLE a nogl state.
parent
6175273c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
11 deletions
+2
-11
device.c
dlls/wined3d/device.c
+1
-10
state.c
dlls/wined3d/state.c
+1
-1
No files found.
dlls/wined3d/device.c
View file @
f2602486
...
...
@@ -3378,17 +3378,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case
WINED3DRS_FOGVERTEXMODE
:
case
WINED3DRS_FOGSTART
:
case
WINED3DRS_FOGEND
:
StateTable
[
STATE_RENDER
(
State
)].
apply
(
STATE_RENDER
(
State
),
This
->
stateBlock
);
break
;
case
WINED3DRS_RANGEFOGENABLE
:
{
if
(
Value
)
{
TRACE
(
"Enabled RANGEFOG
\n
"
);
}
else
{
TRACE
(
"Disabled RANGEFOG
\n
"
);
}
}
StateTable
[
STATE_RENDER
(
State
)].
apply
(
STATE_RENDER
(
State
),
This
->
stateBlock
);
break
;
case
WINED3DRS_FOGCOLOR
:
...
...
dlls/wined3d/state.c
View file @
f2602486
...
...
@@ -843,7 +843,7 @@ const struct StateEntry StateTable[] =
{
/* 45, WINED3DRS_TEXTUREADDRESSV */
0
,
/* Handled in ddraw */
state_undefined
},
{
/* 46, WINED3DRS_MIPMAPLODBIAS */
STATE_RENDER
(
WINED3DRS_MIPMAPLODBIAS
),
state_unknown
},
{
/* 47, WINED3DRS_ZBIAS */
STATE_RENDER
(
WINED3DRS_ZBIAS
),
state_unknown
},
{
/* 48, WINED3DRS_RANGEFOGENABLE */
STATE_RENDER
(
WINED3DRS_RANGEFOGENABLE
),
state_unknown
},
{
/* 48, WINED3DRS_RANGEFOGENABLE */
0
,
state_nogl
},
{
/* 49, WINED3DRS_ANISOTROPY */
STATE_RENDER
(
WINED3DRS_ANISOTROPY
),
state_unknown
},
{
/* 50, WINED3DRS_FLUSHBATCH */
STATE_RENDER
(
WINED3DRS_FLUSHBATCH
),
state_unknown
},
{
/* 51, WINED3DRS_TRANSLUCENTSORTINDEPENDENT */
STATE_RENDER
(
WINED3DRS_TRANSLUCENTSORTINDEPENDENT
),
state_unknown
},
...
...
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