summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2009-09-22 10:45:00 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2009-09-22 10:45:00 (GMT)
commit20efdac59b4b04525773832cc2955ea1e9080b99 (patch)
treee9e5df698239ecdf48fb4f9875b7d20b258ce99e /src/opengl
parent66ae0f190f1f07ce7b2578b81f8d0c69328cf028 (diff)
downloadQt-20efdac59b4b04525773832cc2955ea1e9080b99.zip
Qt-20efdac59b4b04525773832cc2955ea1e9080b99.tar.gz
Qt-20efdac59b4b04525773832cc2955ea1e9080b99.tar.bz2
Fixed a warning.
Reviewed-by: Kim
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
index eba8844..25f4184 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
@@ -1717,6 +1717,8 @@ void QGL2PaintEngineEx::clip(const QVectorPath &path, Qt::ClipOperation op)
state()->depthTestEnabled = true;
break;
}
+ default:
+ break;
}
glDepthFunc(GL_LESS);