mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-24 06:12:35 -06:00
Minor fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1131 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
28de468f3a
commit
54ddc85bd3
1 changed files with 1 additions and 2 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue