summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-09-29 16:33:26 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2014-09-29 16:33:26 -0400
commit8ebe1bc36033cfbfe9cad5a2a9ef6b5cc803c38e (patch)
tree2c44c1cda10fe41611dc787657f53a903429e8d0 /common
parent8e6967669a64d9bc38428fe59fae171a9ac02919 (diff)
downloadqtlocation-mapboxgl-8ebe1bc36033cfbfe9cad5a2a9ef6b5cc803c38e.tar.gz
add more possible errors returned by glCheckFramebufferStatusEXT
from https://www.opengl.org/registry/specs/EXT/framebuffer_object.txt
Diffstat (limited to 'common')
-rw-r--r--common/headless_view.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp
index 3fc3816f07..e52bbf8b96 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -98,7 +98,10 @@ void HeadlessView::resize(uint16_t width, uint16_t height, float pixelRatio) {
switch (status) {
case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT: fprintf(stderr, "incomplete attachment\n"); break;
case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT: fprintf(stderr, "incomplete missing attachment\n"); break;
+ case GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT: fprintf(stderr, "incomplete dimensions\n"); break;
+ case GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT: fprintf(stderr, "incomplete formats\n"); break;
case GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT: fprintf(stderr, "incomplete draw buffer\n"); break;
+ case GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT: fprintf(stderr, "incomplete read buffer\n"); break;
case GL_FRAMEBUFFER_UNSUPPORTED: fprintf(stderr, "unsupported\n"); break;
default: fprintf(stderr, "other\n"); break;
}