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
efeab9d2
Commit
efeab9d2
authored
Nov 03, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the integer variant of zero instead of casting "0.0".
parent
06c4de04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
stateblock.c
dlls/wined3d/stateblock.c
+6
-6
No files found.
dlls/wined3d/stateblock.c
View file @
efeab9d2
...
...
@@ -1206,13 +1206,13 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_InitStartupStateBlock(IWineD3DStat
This
->
textureState
[
i
][
WINED3DTSS_ALPHAOP
]
=
(
i
==
0
)
?
WINED3DTOP_SELECTARG1
:
WINED3DTOP_DISABLE
;
This
->
textureState
[
i
][
WINED3DTSS_ALPHAARG1
]
=
WINED3DTA_TEXTURE
;
This
->
textureState
[
i
][
WINED3DTSS_ALPHAARG2
]
=
WINED3DTA_CURRENT
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVMAT00
]
=
(
DWORD
)
0
.
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVMAT01
]
=
(
DWORD
)
0
.
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVMAT10
]
=
(
DWORD
)
0
.
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVMAT11
]
=
(
DWORD
)
0
.
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVMAT00
]
=
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVMAT01
]
=
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVMAT10
]
=
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVMAT11
]
=
0
;
This
->
textureState
[
i
][
WINED3DTSS_TEXCOORDINDEX
]
=
i
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVLSCALE
]
=
(
DWORD
)
0
.
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVLOFFSET
]
=
(
DWORD
)
0
.
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVLSCALE
]
=
0
;
This
->
textureState
[
i
][
WINED3DTSS_BUMPENVLOFFSET
]
=
0
;
This
->
textureState
[
i
][
WINED3DTSS_TEXTURETRANSFORMFLAGS
]
=
WINED3DTTFF_DISABLE
;
This
->
textureState
[
i
][
WINED3DTSS_ADDRESSW
]
=
WINED3DTADDRESS_WRAP
;
This
->
textureState
[
i
][
WINED3DTSS_COLORARG0
]
=
WINED3DTA_CURRENT
;
...
...
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