summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformsurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatformsurface.cpp')
-rw-r--r--src/gui/kernel/qplatformsurface.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/kernel/qplatformsurface.cpp b/src/gui/kernel/qplatformsurface.cpp
index 39a1869de62..b7c5e36dfa6 100644
--- a/src/gui/kernel/qplatformsurface.cpp
+++ b/src/gui/kernel/qplatformsurface.cpp
@@ -32,17 +32,6 @@ QPlatformSurface::QPlatformSurface(QSurface *surface) : m_surface(surface)
{
}
-bool QPlatformSurface::isRasterSurface(QSurface *surface)
-{
- switch (surface->surfaceType()) {
- case QSurface::RasterSurface:
- case QSurface::RasterGLSurface:
- return true;
- default:
- return false;
- };
-}
-
#ifndef QT_NO_DEBUG_STREAM
Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QPlatformSurface *surface)
{