summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/fxge/agg/agg23/agg_curves.h3
-rw-r--r--core/src/fxge/agg/agg23/fx_agg_driver.cpp2
2 files changed, 0 insertions, 5 deletions
diff --git a/core/src/fxge/agg/agg23/agg_curves.h b/core/src/fxge/agg/agg23/agg_curves.h
index 5719cbf508..61270e64a5 100644
--- a/core/src/fxge/agg/agg23/agg_curves.h
+++ b/core/src/fxge/agg/agg23/agg_curves.h
@@ -63,14 +63,12 @@ class curve4_div : public CFX_Object
{
public:
curve4_div() :
- m_cusp_limit(0),
m_count(0)
{}
curve4_div(FX_FLOAT x1, FX_FLOAT y1,
FX_FLOAT x2, FX_FLOAT y2,
FX_FLOAT x3, FX_FLOAT y3,
FX_FLOAT x4, FX_FLOAT y4) :
- m_cusp_limit(0),
m_count(0)
{
init(x1, y1, x2, y2, x3, y3, x4, y4);
@@ -134,7 +132,6 @@ private:
unsigned level);
FX_FLOAT m_distance_tolerance_square;
FX_FLOAT m_distance_tolerance_manhattan;
- FX_FLOAT m_cusp_limit;
unsigned m_count;
pod_deque<point_type> m_points;
};
diff --git a/core/src/fxge/agg/agg23/fx_agg_driver.cpp b/core/src/fxge/agg/agg23/fx_agg_driver.cpp
index c3f42bf9f9..f0f6e5ee66 100644
--- a/core/src/fxge/agg/agg23/fx_agg_driver.cpp
+++ b/core/src/fxge/agg/agg23/fx_agg_driver.cpp
@@ -1317,8 +1317,6 @@ void RgbByteOrderTransferBitmap(CFX_DIBitmap* pBitmap, int dest_left, int dest_t
}
return;
}
- int src_pitch = pSrcBitmap->GetPitch();
- FX_ARGB* src_pal = pSrcBitmap->GetPalette();
FX_LPBYTE dest_buf = buffer + dest_top * pitch + dest_left * Bpp;
if (dest_format == FXDIB_Rgb) {
if (src_format == FXDIB_Rgb32) {