зеркало из https://github.com/mozilla/gecko-dev.git
Bug 233212 - don't set colormap on 1-bit stretch.
r=blizzard sr=byrner a=dveditz
This commit is contained in:
Родитель
abbe9fc884
Коммит
f0c294395a
|
@ -522,7 +522,9 @@ XlibRectStretch(PRInt32 srcWidth, PRInt32 srcHeight,
|
|||
scaleEndY-scaleStartY,
|
||||
aDepth);
|
||||
#ifdef MOZ_WIDGET_GTK2
|
||||
gdk_drawable_set_colormap(GDK_DRAWABLE(aTmpImage), gdk_rgb_get_colormap());
|
||||
if (aDepth != 1)
|
||||
gdk_drawable_set_colormap(GDK_DRAWABLE(aTmpImage),
|
||||
gdk_rgb_get_colormap());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче