From 63008bd807ab61382e734943927ed1097ad69c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 20 Jun 2010 16:58:04 +0000 Subject: [PATCH] Fix compile error with some OpenGL dev headers svn path=/trunk/KDE/kdebase/workspace/; revision=1140417 --- lib/kwinglutils.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/kwinglutils.cpp b/lib/kwinglutils.cpp index 3ec98028d0..bd3f9d3ed8 100644 --- a/lib/kwinglutils.cpp +++ b/lib/kwinglutils.cpp @@ -1049,28 +1049,28 @@ static QString formatFramebufferStatus( GLenum status ) { switch( status ) { - case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: + case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT: // An attachment is the wrong type / is invalid / has 0 width or height return "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"; - case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: + case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT: // There are no images attached to the framebuffer return "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"; case GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT: // Not all attached images have the same width and height return "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT"; - case GL_FRAMEBUFFER_UNSUPPORTED: + case GL_FRAMEBUFFER_UNSUPPORTED_EXT: // A format or the combination of formats of the attachments is unsupported return "GL_FRAMEBUFFER_UNSUPPORTED"; case GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT: // The color attachments don't have the same format return "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT"; - case GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: + case GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT: // The attachments don't have the same number of samples return "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE"; - case GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER: + case GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT: // The draw buffer is missing return "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER"; - case GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER: + case GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT: // The read buffer is missing return "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER"; default: