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
98d3624f
Commit
98d3624f
authored
Jan 24, 2022
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use wined3d_mask_from_size() in stateblock_savedstates_set_all().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5a8ffed7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
stateblock.c
dlls/wined3d/stateblock.c
+1
-1
No files found.
dlls/wined3d/stateblock.c
View file @
98d3624f
...
...
@@ -219,7 +219,7 @@ static void stateblock_savedstates_set_all(struct wined3d_saved_states *states,
stateblock_set_all_bits
(
states
->
renderState
,
WINEHIGHEST_RENDER_STATE
+
1
);
for
(
i
=
0
;
i
<
WINED3D_MAX_TEXTURES
;
++
i
)
states
->
textureState
[
i
]
=
0x3ffff
;
for
(
i
=
0
;
i
<
WINED3D_MAX_COMBINED_SAMPLERS
;
++
i
)
states
->
samplerState
[
i
]
=
0x3ffe
;
states
->
clipplane
=
(
1u
<<
WINED3D_MAX_CLIP_DISTANCES
)
-
1
;
states
->
clipplane
=
wined3d_mask_from_size
(
WINED3D_MAX_CLIP_DISTANCES
)
;
states
->
pixelShaderConstantsB
=
0xffff
;
states
->
pixelShaderConstantsI
=
0xffff
;
states
->
vertexShaderConstantsB
=
0xffff
;
...
...
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