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
9b79bc5e
Commit
9b79bc5e
authored
Mar 20, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implement env bump mapping in the atifs ffp replacement.
parent
4640be8d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ati_fragment_shader.c
dlls/wined3d/ati_fragment_shader.c
+0
-0
utils.c
dlls/wined3d/utils.c
+4
-1
No files found.
dlls/wined3d/ati_fragment_shader.c
View file @
9b79bc5e
This diff is collapsed.
Click to expand it.
dlls/wined3d/utils.c
View file @
9b79bc5e
...
...
@@ -3195,6 +3195,7 @@ void gen_ffp_op(IWineD3DStateBlockImpl *stateblock, struct texture_stage_op op[M
DWORD
ttff
;
for
(
i
=
0
;
i
<
GL_LIMITS
(
texture_stages
);
i
++
)
{
IWineD3DBaseTextureImpl
*
texture
;
if
(
stateblock
->
textureState
[
i
][
WINED3DTSS_COLOROP
]
==
WINED3DTOP_DISABLE
)
{
op
[
i
].
cop
=
WINED3DTOP_DISABLE
;
op
[
i
].
aop
=
WINED3DTOP_DISABLE
;
...
...
@@ -3204,7 +3205,9 @@ void gen_ffp_op(IWineD3DStateBlockImpl *stateblock, struct texture_stage_op op[M
i
++
;
break
;
}
op
[
i
].
color_correction
=
WINED3DFMT_UNKNOWN
;
texture
=
(
IWineD3DBaseTextureImpl
*
)
stateblock
->
textures
[
i
];
op
[
i
].
color_correction
=
texture
?
texture
->
baseTexture
.
shader_conversion_group
:
WINED3DFMT_UNKNOWN
;
op
[
i
].
cop
=
stateblock
->
textureState
[
i
][
WINED3DTSS_COLOROP
];
op
[
i
].
aop
=
stateblock
->
textureState
[
i
][
WINED3DTSS_ALPHAOP
];
...
...
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