diff options
author | Robert Brock <robert.brock@kdab.com> | 2016-02-25 11:23:09 +0000 |
---|---|---|
committer | Robert Brock <robert.brock@kdab.com> | 2016-03-03 09:52:10 +0000 |
commit | 921a6641ee3b5997ac0a8a3099af02ab1d5585de (patch) | |
tree | 596287147a3f48c74227996f9dac3f5296d4e544 /src/render/graphicshelpers/graphicshelpergl3_3.cpp | |
parent | 568805fd24931787b8d318d869fa7149f09dc958 (diff) |
QRenderAttachment renamed to QRenderTargetOutput
As per API review
Change-Id: Icaca9797c01100402e6d103be2a0425820a717ec
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl3_3.cpp')
-rw-r--r-- | src/render/graphicshelpers/graphicshelpergl3_3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3_3.cpp b/src/render/graphicshelpers/graphicshelpergl3_3.cpp index 0ee157453..90b670349 100644 --- a/src/render/graphicshelpers/graphicshelpergl3_3.cpp +++ b/src/render/graphicshelpers/graphicshelpergl3_3.cpp @@ -348,11 +348,11 @@ void GraphicsHelperGL3_3::bindFrameBufferAttachment(QOpenGLTexture *texture, con { 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(); |