Commit c758fa4f authored by Dave Airlie's avatar Dave Airlie
Browse files

fbo-clear-formats: delete incomplete FBO

If an FBO ended up incomplete, the following test would fail.

fixes an abort in this test on llvmpipe
Signed-off-by: default avatarDave Airlie <>
parent c27ef002
......@@ -147,6 +147,7 @@ do_depth_clear(GLenum format, GLuint tex, int level, int size)
if (!level)
printf(" - FBO incomplete\n");
glDeleteFramebuffersEXT(1, &fb);
return false;
} else {
if (!level)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment