diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-03-07 06:36:43 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-03-07 06:36:43 +0100 |
commit | 3510f7b2d9886a7258172c427f6eaa0109c762bb (patch) | |
tree | a78bf35f2b32962eb43f212914b42ed4aeb4574f | |
parent | 80f9fa576a3eb4b25d705eac40feb49c063bf0f3 (diff) |
fbo-storage-formats: print framebuffer completeness status (for debugging)
-rw-r--r-- | tests/fbo/fbo-storage-formats.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fbo/fbo-storage-formats.c index 1b5124ec6..57d241c26 100644 --- a/tests/fbo/fbo-storage-formats.c +++ b/tests/fbo/fbo-storage-formats.c @@ -211,6 +211,9 @@ test(void) TestName, Formats[i].format); pass = GL_FALSE; } + printf("0x%04X: %s\n", Formats[i].format, + glCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT) == GL_FRAMEBUFFER_COMPLETE_EXT ? + "complete" : "incomplete"); } /* test formats that should fail */ |