summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelpergl3_3.cpp
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-02-29 15:24:29 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-03-08 15:38:15 +0000
commite0b120eff6a2de9214bb37323b5a0b444620027a (patch)
tree10dfcc074d7f64268c4ae2da123440e09df8d61a /src/render/graphicshelpers/graphicshelpergl3_3.cpp
parent2a98c7e7d20bf720c4f4b6444d6317e99face7ec (diff)
QClipPlane rename and added properties
- storing values in backend - new functions being added renamed plane to planeIndex added QVector3D normal property added float distance property As per API review Task-number: QTBUG-51435 Change-Id: Ie52804716510981af1467e96003304324fadd4d8 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl3_3.cpp')
-rw-r--r--src/render/graphicshelpers/graphicshelpergl3_3.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3_3.cpp b/src/render/graphicshelpers/graphicshelpergl3_3.cpp
index 55de0e08b..28dfbb235 100644
--- a/src/render/graphicshelpers/graphicshelpergl3_3.cpp
+++ b/src/render/graphicshelpers/graphicshelpergl3_3.cpp
@@ -933,6 +933,11 @@ void GraphicsHelperGL3_3::disableClipPlane(int clipPlane)
m_funcs->glDisable(GL_CLIP_DISTANCE0 + clipPlane);
}
+void GraphicsHelperGL3_3::setClipPlane(int clipPlane, const QVector3D &normal, float distance)
+{
+ // deprecated
+}
+
GLint GraphicsHelperGL3_3::maxClipPlaneCount()
{
GLint max = 0;