Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
piglit
Commits
a4b975dd
Commit
a4b975dd
authored
Feb 09, 2009
by
Brian Paul
Browse files
more debug/fail info, added comment
parent
c767fd98
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/bugs/tex1d-2dborder.c
View file @
a4b975dd
...
...
@@ -71,7 +71,7 @@ static void test(GLenum wrapt, int cellx, int celly)
int
y
=
(
celly
*
5
+
sy
+
1
)
*
Height
/
10
;
if
(
!
piglit_probe_pixel_rgb
(
x
,
y
,
TextureColor
))
{
fprintf
(
stderr
,
"Fail in cell %i,%i
\n
"
,
cellx
,
celly
);
fprintf
(
stderr
,
"Fail in cell %i,%i
(texwrap % = 0x%x)
\n
"
,
cellx
,
celly
,
wrapt
);
if
(
Automatic
)
piglit_report_result
(
PIGLIT_FAILURE
);
...
...
@@ -87,6 +87,9 @@ static void Redisplay(void)
glClearColor
(
0
.
5
,
0
.
5
,
0
.
5
,
1
.
0
);
glClear
(
GL_COLOR_BUFFER_BIT
);
/* Draw eight tiles, each with a different tex wrap mode.
* They should all look the same.
*/
test
(
GL_REPEAT
,
0
,
0
);
test
(
GL_CLAMP
,
1
,
0
);
test
(
GL_CLAMP_TO_EDGE
,
2
,
0
);
...
...
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