diff --git a/uppsrc/Draw/ImageWin32.cpp b/uppsrc/Draw/ImageWin32.cpp index eedf08219..8e106c8f1 100644 --- a/uppsrc/Draw/ImageWin32.cpp +++ b/uppsrc/Draw/ImageWin32.cpp @@ -238,8 +238,7 @@ void Image::Data::Paint(Draw& w, int x, int y, const Rect& src, Color c) w.DrawRect(x, y, sz.cx, sz.cy, c); return; } - if(GetKind() == IMAGE_OPAQUE && paintcount == 0 && sr == Rect(sz) && !w.IsMetaFile() - && IsWinNT() && !w.IsPrinter()) { + if(GetKind() == IMAGE_OPAQUE && paintcount == 0 && sr == Rect(sz) && IsWinNT() && w.IsGui()) { LTIMING("Image Opaque direct set"); SetSurface(w, x, y, sz.cx, sz.cy, buffer); paintcount++;