summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelpergl3.cpp
diff options
context:
space:
mode:
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();