Bug 137694 - only create the 1-bit GC once we've created a 1-bit pixmap.
r=pavlov, sr=blizzard git-svn-id: svn://10.0.0.236/trunk@120563 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user