summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformoffscreensurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatformoffscreensurface.h')
-rw-r--r--src/gui/kernel/qplatformoffscreensurface.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/kernel/qplatformoffscreensurface.h b/src/gui/kernel/qplatformoffscreensurface.h
index 46bc65d467..259b213f5a 100644
--- a/src/gui/kernel/qplatformoffscreensurface.h
+++ b/src/gui/kernel/qplatformoffscreensurface.h
@@ -83,12 +83,6 @@ private:
Q_DISABLE_COPY(QPlatformOffscreenSurface)
};
-template <typename NativeInterface>
-NativeInterface *QOffscreenSurface::nativeInterface() const
-{
- return dynamic_cast<NativeInterface*>(surfaceHandle());
-}
-
namespace QNativeInterface::Private {
#if defined(Q_OS_ANDROID)