summaryrefslogtreecommitdiffstats
path: root/src/render/backend/qgraphicshelperinterface_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/backend/qgraphicshelperinterface_p.h')
-rw-r--r--src/render/backend/qgraphicshelperinterface_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/backend/qgraphicshelperinterface_p.h b/src/render/backend/qgraphicshelperinterface_p.h
index 4ec22e28e..16543382d 100644
--- a/src/render/backend/qgraphicshelperinterface_p.h
+++ b/src/render/backend/qgraphicshelperinterface_p.h
@@ -56,7 +56,8 @@ public:
MRT = 0,
Tessellation,
UniformBufferObject,
- BindableFragmentOutputs
+ BindableFragmentOutputs,
+ PrimitiveRestart
};
virtual ~QGraphicsHelperInterface() {}
@@ -96,6 +97,8 @@ public:
virtual void enableClipPlane(int clipPlane) = 0;
virtual void disableClipPlane(int clipPlane) = 0;
virtual GLint maxClipPlaneCount() = 0;
+ virtual void enablePrimitiveRestart(int primitiveRestartIndex) = 0;
+ virtual void disablePrimitiveRestart() = 0;
};