summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2012-02-13 16:01:11 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-14 02:48:35 +0100
commit28f02bcd51b30dd1981159d507b3f2dc215314e2 (patch)
tree638d7833d4d1623dbbaf15826a5d5cfe806a4c10 /src/gui
parentc954bf8b91bb0e7bc7ce4eb8cecca1331766b051 (diff)
Removed unused qStorePixel[] array.
Change-Id: I9c9df19fcf06b127aaebb7ab093221e1b254ab9e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qdrawhelper.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp
index 8f2b3bab1c..bb4b23a367 100644
--- a/src/gui/painting/qdrawhelper.cpp
+++ b/src/gui/painting/qdrawhelper.cpp
@@ -294,7 +294,6 @@ StorePixelsFunc qStorePixels[QPixelLayout::BPPCount] = {
};
typedef uint (QT_FASTCALL *FetchPixelFunc)(const uchar *src, int index);
-typedef void (QT_FASTCALL *StorePixelFunc)(uchar *dest, int index, uint pixel);
FetchPixelFunc qFetchPixel[QPixelLayout::BPPCount] = {
0, // BPPNone
@@ -306,17 +305,6 @@ FetchPixelFunc qFetchPixel[QPixelLayout::BPPCount] = {
fetchPixel<QPixelLayout::BPP32> // BPP32
};
-StorePixelFunc qStorePixel[QPixelLayout::BPPCount] = {
- 0, // BPPNone
- storePixel<QPixelLayout::BPP1MSB>, // BPP1MSB
- storePixel<QPixelLayout::BPP1LSB>, // BPP1LSB
- storePixel<QPixelLayout::BPP8>, // BPP8
- storePixel<QPixelLayout::BPP16>, // BPP16
- storePixel<QPixelLayout::BPP24>, // BPP24
- storePixel<QPixelLayout::BPP32> // BPP32
-};
-
-
/*
Destination fetch. This is simple as we don't have to do bounds checks or
transformations