Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Mesa
piglit
Commits
3ed4c8d6
Commit
3ed4c8d6
authored
Apr 08, 2011
by
Fabian Bieler
Committed by
Marek Olšák
Apr 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util: fixed regression in fdo25614-genmipmap
This was caused by
bead3e50
parent
9d45893e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/util/piglit-util-gl.c
tests/util/piglit-util-gl.c
+2
-2
No files found.
tests/util/piglit-util-gl.c
View file @
3ed4c8d6
...
...
@@ -369,7 +369,7 @@ int piglit_probe_texel_rect_rgba(int target, int level, int x, int y,
for
(
j
=
y
;
j
<
y
+
h
;
++
j
)
{
for
(
i
=
x
;
i
<
x
+
w
;
++
i
)
{
probe
=
&
buffer
[(
j
*
w
+
i
)
*
4
];
probe
=
&
buffer
[(
j
*
width
+
i
)
*
4
];
for
(
p
=
0
;
p
<
4
;
++
p
)
{
if
(
fabs
(
probe
[
p
]
-
expected
[
p
])
>=
piglit_tolerance
[
p
])
{
...
...
@@ -433,7 +433,7 @@ int piglit_probe_texel_rect_rgb(int target, int level, int x, int y,
for
(
j
=
y
;
j
<
y
+
h
;
++
j
)
{
for
(
i
=
x
;
i
<
x
+
w
;
++
i
)
{
probe
=
&
buffer
[(
j
*
w
+
i
)
*
3
];
probe
=
&
buffer
[(
j
*
width
+
i
)
*
3
];
for
(
p
=
0
;
p
<
3
;
++
p
)
{
if
(
fabs
(
probe
[
p
]
-
expected
[
p
])
>=
piglit_tolerance
[
p
])
{
...
...
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