From 921a6641ee3b5997ac0a8a3099af02ab1d5585de Mon Sep 17 00:00:00 2001 From: Robert Brock Date: Thu, 25 Feb 2016 11:23:09 +0000 Subject: QRenderAttachment renamed to QRenderTargetOutput As per API review Change-Id: Icaca9797c01100402e6d103be2a0425820a717ec Reviewed-by: Paul Lemire --- src/render/graphicshelpers/graphicshelpergl3.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render/graphicshelpers/graphicshelpergl3.cpp') diff --git a/src/render/graphicshelpers/graphicshelpergl3.cpp b/src/render/graphicshelpers/graphicshelpergl3.cpp index 08b8d3f8e..afce394e0 100644 --- a/src/render/graphicshelpers/graphicshelpergl3.cpp +++ b/src/render/graphicshelpers/graphicshelpergl3.cpp @@ -351,11 +351,11 @@ void GraphicsHelperGL3::bindFrameBufferAttachment(QOpenGLTexture *texture, const { GLenum attr = GL_DEPTH_STENCIL_ATTACHMENT; - if (attachment.m_point <= QRenderAttachment::ColorAttachment15) + if (attachment.m_point <= QRenderTargetOutput::ColorAttachment15) attr = GL_COLOR_ATTACHMENT0 + attachment.m_point; - else if (attachment.m_point == QRenderAttachment::DepthAttachment) + else if (attachment.m_point == QRenderTargetOutput::DepthAttachment) attr = GL_DEPTH_ATTACHMENT; - else if (attachment.m_point == QRenderAttachment::StencilAttachment) + else if (attachment.m_point == QRenderTargetOutput::StencilAttachment) attr = GL_STENCIL_ATTACHMENT; texture->bind(); -- cgit v1.2.3