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
f89f30e0
Commit
f89f30e0
authored
Aug 20, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Aug 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix blending test expected results.
parent
d5cec3b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
utils.c
dlls/wined3d/utils.c
+3
-3
No files found.
dlls/wined3d/utils.c
View file @
f89f30e0
...
...
@@ -1138,9 +1138,9 @@ static void check_fbo_compat(const struct wined3d_gl_info *gl_info, struct wined
a
=
color
>>
24
;
r
=
(
color
&
0x00ff0000
)
>>
16
;
r_range
=
format
->
red_size
<
8
?
1
<<
(
8
-
format
->
red_size
-
1
)
:
1
;
a_range
=
format
->
alpha_size
<
8
?
1
<<
(
8
-
format
->
alpha_size
-
1
)
:
1
;
if
(
format
->
red_size
&&
(
r
<
0x
80
-
r_range
||
r
>
0x80
+
r_range
))
r_range
=
format
->
red_size
<
8
?
1
<<
(
8
-
format
->
red_size
)
:
1
;
a_range
=
format
->
alpha_size
<
8
?
1
<<
(
8
-
format
->
alpha_size
)
:
1
;
if
(
format
->
red_size
&&
(
r
<
0x
7f
-
r_range
||
r
>
0x7f
+
r_range
))
match
=
FALSE
;
else
if
(
format
->
alpha_size
>
1
&&
(
a
<
0xbf
-
a_range
||
a
>
0xbf
+
a_range
))
match
=
FALSE
;
...
...
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