summaryrefslogtreecommitdiff
path: root/drawinglayer/source/texture/texture3d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/texture/texture3d.cxx')
-rw-r--r--drawinglayer/source/texture/texture3d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx
index 2e46508dbd71..085fea3cc08d 100644
--- a/drawinglayer/source/texture/texture3d.cxx
+++ b/drawinglayer/source/texture/texture3d.cxx
@@ -125,9 +125,9 @@ namespace drawinglayer
}
case TRANSPARENT_COLOR:
{
- const Color aColor(mpReadBitmap->GetColor(rY, rX));
+ const BitmapColor aBitmapColor(mpReadBitmap->GetColor(rY, rX));
- if(maBitmapEx.GetTransparentColor() == aColor)
+ if(maBitmapEx.GetTransparentColor() == aBitmapColor.operator Color())
{
return 255;
}