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
2041cf89
Commit
2041cf89
authored
Feb 18, 2011
by
Marek Olšák
Browse files
fbo-generatemipmap-formats: fix testing GL_DEPTH_STENCIL
accidentally broken when fixing GL_DEPTH32F_STENCIL8
parent
87cef38d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/fbo/fbo-generatemipmap-formats.c
View file @
2041cf89
...
...
@@ -129,7 +129,7 @@ create_tex(GLenum internalformat, GLenum baseformat)
tex
=
piglit_depth_texture
(
internalformat
,
tex_width
,
tex_height
,
GL_FALSE
);
assert
(
glGetError
()
==
0
);
if
(
internal
format
==
GL_DEPTH
24
_STENCIL
8
)
{
if
(
base
format
==
GL_DEPTH_STENCIL
)
{
format
=
GL_DEPTH_STENCIL
;
type
=
GL_UNSIGNED_INT_24_8
;
}
else
if
(
internalformat
==
GL_DEPTH32F_STENCIL8
)
{
...
...
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