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
fb38bad0
Commit
fb38bad0
authored
Dec 27, 2011
by
Matteo Bruni
Committed by
Alexandre Julliard
Dec 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Improve projection TEXTURETRANSFORMFLAGS handling in the ARB fragment ffp implementation.
parent
472fed41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
utils.c
dlls/wined3d/utils.c
+4
-4
No files found.
dlls/wined3d/utils.c
View file @
fb38bad0
...
@@ -3035,14 +3035,14 @@ void gen_ffp_frag_op(const struct wined3d_device *device, const struct wined3d_s
...
@@ -3035,14 +3035,14 @@ void gen_ffp_frag_op(const struct wined3d_device *device, const struct wined3d_s
{
{
ttff
=
state
->
texture_states
[
i
][
WINED3DTSS_TEXTURETRANSFORMFLAGS
];
ttff
=
state
->
texture_states
[
i
][
WINED3DTSS_TEXTURETRANSFORMFLAGS
];
if
(
ttff
==
(
WINED3DTTFF_PROJECTED
|
WINED3DTTFF_COUNT3
))
if
(
ttff
==
(
WINED3DTTFF_PROJECTED
|
WINED3DTTFF_COUNT3
))
{
settings
->
op
[
i
].
projected
=
proj_count3
;
settings
->
op
[
i
].
projected
=
proj_count3
;
}
else
if
(
ttff
==
(
WINED3DTTFF_PROJECTED
|
WINED3DTTFF_COUNT4
))
{
else
if
(
ttff
&
WINED3DTTFF_PROJECTED
)
settings
->
op
[
i
].
projected
=
proj_count4
;
settings
->
op
[
i
].
projected
=
proj_count4
;
}
else
{
else
settings
->
op
[
i
].
projected
=
proj_none
;
settings
->
op
[
i
].
projected
=
proj_none
;
}
}
}
else
{
else
{
settings
->
op
[
i
].
projected
=
proj_none
;
settings
->
op
[
i
].
projected
=
proj_none
;
}
}
...
...
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