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
e8b9f167
Commit
e8b9f167
authored
Aug 20, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix the texcoord size mask.
There is room for 8 texture coordinates, not just 4.
parent
58ac095d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vertexdeclaration.c
dlls/d3d9/vertexdeclaration.c
+1
-1
device.c
dlls/wined3d/device.c
+1
-1
No files found.
dlls/d3d9/vertexdeclaration.c
View file @
e8b9f167
...
...
@@ -71,7 +71,7 @@ HRESULT vdecl_convert_fvf(
BOOL
has_specular
=
(
fvf
&
D3DFVF_SPECULAR
)
!=
0
;
DWORD
num_textures
=
(
fvf
&
D3DFVF_TEXCOUNT_MASK
)
>>
D3DFVF_TEXCOUNT_SHIFT
;
DWORD
texcoords
=
(
fvf
&
0x
00
FF0000
)
>>
16
;
DWORD
texcoords
=
(
fvf
&
0x
FF
FF0000
)
>>
16
;
D3DVERTEXELEMENT9
end_element
=
D3DDECL_END
();
D3DVERTEXELEMENT9
*
elements
=
NULL
;
...
...
dlls/wined3d/device.c
View file @
e8b9f167
...
...
@@ -1735,7 +1735,7 @@ static unsigned int ConvertFvfToDeclaration(IWineD3DDeviceImpl *This, /* For the
BOOL
has_specular
=
(
fvf
&
WINED3DFVF_SPECULAR
)
!=
0
;
DWORD
num_textures
=
(
fvf
&
WINED3DFVF_TEXCOUNT_MASK
)
>>
WINED3DFVF_TEXCOUNT_SHIFT
;
DWORD
texcoords
=
(
fvf
&
0x
00
FF0000
)
>>
16
;
DWORD
texcoords
=
(
fvf
&
0x
FF
FF0000
)
>>
16
;
WINED3DVERTEXELEMENT
end_element
=
WINED3DDECL_END
();
WINED3DVERTEXELEMENT
*
elements
=
NULL
;
...
...
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