summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelpergl3.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2015-12-13 14:39:11 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-13 16:10:51 +0000
commit88c358e8c5970afdf15483ac982b481c895aaa7c (patch)
tree6d34ff781071a85d660664051318fc519e0a53fc /src/render/graphicshelpers/graphicshelpergl3.cpp
parent65bbc12f88154ac9210c88f4fef5312e328b8647 (diff)
GraphicsHelper: add dispatch compute function
Change-Id: I3c2614f0fc484d6f492d9302a3ec9335e827f741 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl3.cpp')
-rw-r--r--src/render/graphicshelpers/graphicshelpergl3.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3.cpp b/src/render/graphicshelpers/graphicshelpergl3.cpp
index 64c0c1b03..d79431131 100644
--- a/src/render/graphicshelpers/graphicshelpergl3.cpp
+++ b/src/render/graphicshelpers/graphicshelpergl3.cpp
@@ -976,6 +976,14 @@ QSize GraphicsHelperGL3::getTextureDimensions(GLuint textureId, GLenum target, u
return QSize(width, height);
}
+void GraphicsHelperGL3::dispatchCompute(GLuint wx, GLuint wy, GLuint wz)
+{
+ Q_UNUSED(wx);
+ Q_UNUSED(wy);
+ Q_UNUSED(wz);
+ qWarning() << "Compute Shaders are not supported by OpenGL 3.0 (since OpenGL 4.3)";
+}
+
} // namespace Render
} // namespace Qt3DRender