diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-04-07 05:18:18 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-04-07 05:18:18 (GMT) |
commit | 7b72b28464b4ffba6b39cbb863731202dd922064 (patch) | |
tree | 54571ef333f3fdd5f67e1fe7579f0acef456b9d1 /src | |
parent | 6ee9fd3cdb932dd8d7a2ad6a5ac61300aefc1058 (diff) | |
download | Qt-7b72b28464b4ffba6b39cbb863731202dd922064.zip Qt-7b72b28464b4ffba6b39cbb863731202dd922064.tar.gz Qt-7b72b28464b4ffba6b39cbb863731202dd922064.tar.bz2 |
Cleanup. This function is no longer used.
Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp index bbb0678..cb40935 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp @@ -384,16 +384,6 @@ DFBSurfacePixelFormat QDirectFBScreen::getSurfacePixelFormat(QImage::Format form }; } -static inline bool isPremultiplied(IDirectFBSurface *surface) -{ - Q_ASSERT(surface); - DFBSurfaceCapabilities caps; - const DFBResult result = surface->GetCapabilities(surface, &caps); - Q_ASSERT(result == DFB_OK); - Q_UNUSED(result); - return caps & DSCAPS_PREMULTIPLIED; -} - QImage::Format QDirectFBScreen::getImageFormat(IDirectFBSurface *surface) { DFBSurfacePixelFormat format; |