summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelpergl3.cpp
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-02-25 11:23:09 +0000
committerRobert Brock <robert.brock@kdab.com>2016-03-03 09:52:10 +0000
commit921a6641ee3b5997ac0a8a3099af02ab1d5585de (patch)
tree596287147a3f48c74227996f9dac3f5296d4e544 /src/render/graphicshelpers/graphicshelpergl3.cpp
parent568805fd24931787b8d318d869fa7149f09dc958 (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.cpp')
-rw-r--r--src/render/graphicshelpers/graphicshelpergl3.cpp6
1 files changed, 3 insertions, 3 deletions
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();