summaryrefslogtreecommitdiffstats
path: root/src/render/backend/resourceaccessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/backend/resourceaccessor.cpp')
-rw-r--r--src/render/backend/resourceaccessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/backend/resourceaccessor.cpp b/src/render/backend/resourceaccessor.cpp
index ebc55c7ca..e6ed4262b 100644
--- a/src/render/backend/resourceaccessor.cpp
+++ b/src/render/backend/resourceaccessor.cpp
@@ -80,7 +80,7 @@ bool ResourceAccessor::accessResource(ResourceType type,
Q_FALLTHROUGH();
case RenderBackendResourceAccessor::OGLTextureRead:
{
- if (m_renderer->api() != AbstractRenderer::OpenGL) {
+ if (m_renderer->api() != API::OpenGL) {
qWarning() << "Renderer plugin is not compatible with Scene2D";
return false;
}