summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-10-18 11:24:45 +0000
committerArmin Le Grand <alg@apache.org>2012-10-18 11:24:45 +0000
commitb0b8e3854f679383fe3ff2e436bfbe3573f34088 (patch)
tree7a6c1b2689d4eb166e2e4459e026f9f7dc6926b4
parent7903c33f31c457eb6ff506958c4233f2a5d39bcf (diff)
Corrected color conversion from BitmapColor to Color
Notes
Notes: merged as: 49a0278601ec73ee052086824536fa3d9796e5d3
-rw-r--r--drawinglayer/source/texture/texture3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx
index ab1ecc7b87a8..db7ce8ad94d8 100644
--- a/drawinglayer/source/texture/texture3d.cxx
+++ b/drawinglayer/source/texture/texture3d.cxx
@@ -134,7 +134,7 @@ namespace drawinglayer
{
const BitmapColor aBitmapColor(mpReadBitmap->GetColor(rY, rX));
- if(maBitmapEx.GetTransparentColor() == Color(aBitmapColor))
+ if(maBitmapEx.GetTransparentColor() == aBitmapColor.operator Color())
{
return 255;
}