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
d050b4de
Commit
d050b4de
authored
Nov 07, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Reinstall the projected texture disabling for generated coords.
parent
9fb70b99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
utils.c
dlls/wined3d/utils.c
+3
-1
No files found.
dlls/wined3d/utils.c
View file @
d050b4de
...
...
@@ -2500,7 +2500,8 @@ void set_texture_matrix(const float *smat, DWORD flags, BOOL calculatedCoords, B
mat
[
2
]
=
mat
[
6
]
=
mat
[
10
]
=
mat
[
14
]
=
0
;
break
;
}
}
else
if
(
!
calculatedCoords
)
{
/* under directx the R/Z coord can be used for translation, under opengl we use the Q coord instead */
}
else
{
/* under directx the R/Z coord can be used for translation, under opengl we use the Q coord instead */
if
(
!
calculatedCoords
)
{
switch
(
coordtype
)
{
case
WINED3DDECLTYPE_FLOAT1
:
/* Direct3D passes the default 1.0 in the 2nd coord, while gl passes it in the 4th.
...
...
@@ -2532,6 +2533,7 @@ void set_texture_matrix(const float *smat, DWORD flags, BOOL calculatedCoords, B
default:
FIXME
(
"Unexpected fixed function texture coord input
\n
"
);
}
}
switch
(
flags
&
~
WINED3DTTFF_PROJECTED
)
{
/* case WINED3DTTFF_COUNT1: Won't ever get here */
case
WINED3DTTFF_COUNT2
:
mat
[
2
]
=
mat
[
6
]
=
mat
[
10
]
=
mat
[
14
]
=
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