summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/engine/surface3drenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/datavisualization/engine/surface3drenderer.cpp')
-rw-r--r--src/datavisualization/engine/surface3drenderer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datavisualization/engine/surface3drenderer.cpp b/src/datavisualization/engine/surface3drenderer.cpp
index a989ed3f..63bd93a7 100644
--- a/src/datavisualization/engine/surface3drenderer.cpp
+++ b/src/datavisualization/engine/surface3drenderer.cpp
@@ -117,6 +117,8 @@ Surface3DRenderer::Surface3DRenderer(Surface3DController *controller)
if (!tester.testCompile()) {
m_flatSupported = false;
m_controller->setSmoothSurface(true);
+ qWarning() << "Warning: Flat qualifier not supported on your platform's GLSL language."
+ " Requires at least GLSL version 1.2 with GL_EXT_gpu_shader4 extension.";
}
m_cachedSmoothSurface = m_controller->smoothSurface();