From dfde66b4a9845a76793fa13f13234e7a3224c79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 20 Nov 2010 13:47:30 +0100 Subject: [PATCH] Fix compile error in desktop modus --- lib/kwinglutils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/kwinglutils.cpp b/lib/kwinglutils.cpp index 4f32e7c039..e699cd7783 100644 --- a/lib/kwinglutils.cpp +++ b/lib/kwinglutils.cpp @@ -1076,13 +1076,13 @@ static QString formatFramebufferStatus( GLenum status ) case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: // There are no images attached to the framebuffer return "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"; - case GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS: - // Not all attached images have the same width and height - return "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT"; case GL_FRAMEBUFFER_UNSUPPORTED: // A format or the combination of formats of the attachments is unsupported return "GL_FRAMEBUFFER_UNSUPPORTED"; #ifndef KWIN_HAVE_OPENGLES + 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_INCOMPLETE_FORMATS_EXT: // The color attachments don't have the same format return "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT";