diff options
Diffstat (limited to 'src/openvg/qwindowsurface_vg.cpp')
-rw-r--r-- | src/openvg/qwindowsurface_vg.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/openvg/qwindowsurface_vg.cpp b/src/openvg/qwindowsurface_vg.cpp index 6f99de4..eedfea5 100644 --- a/src/openvg/qwindowsurface_vg.cpp +++ b/src/openvg/qwindowsurface_vg.cpp @@ -119,9 +119,12 @@ QPaintEngine *QVGWindowSurface::paintEngine() const return d_ptr->paintEngine(); } -bool QVGWindowSurface::hasStaticContentsSupport() const +QWindowSurface::WindowSurfaceFeatures QVGWindowSurface::features() const { - d_ptr->supportsStaticContents(); + WindowSurfaceFeatures features = PartialUpdates | PreservedContents; + if (d_ptr->supportsStaticContents()) + features |= StaticContents; + return features; } int QVGWindowSurface::metric(PaintDeviceMetric met) const |