зеркало из https://github.com/mozilla/pjs.git
Bug 137694 - only create the 1-bit GC once we've created a 1-bit pixmap.
r=pavlov, sr=blizzard
This commit is contained in:
Родитель
ef4c9f9e99
Коммит
121151a087
|
@ -1514,10 +1514,10 @@ void nsImageGTK::CreateOffscreenPixmap(PRInt32 aWidth, PRInt32 aHeight)
|
|||
bitmask data are arranged left to right on the screen,
|
||||
low to high address in memory. */
|
||||
mAlphaXImage->byte_order = MSBFirst;
|
||||
}
|
||||
|
||||
if (!s1bitGC)
|
||||
s1bitGC = gdk_gc_new(mAlphaPixmap);
|
||||
if (!s1bitGC)
|
||||
s1bitGC = gdk_gc_new(mAlphaPixmap);
|
||||
}
|
||||
|
||||
if (!sXbitGC)
|
||||
sXbitGC = gdk_gc_new(mImagePixmap);
|
||||
|
|
Загрузка…
Ссылка в новой задаче