зеркало из https://github.com/mozilla/gecko-dev.git
Draw directly onto windows, not on a pixmap
This commit is contained in:
Родитель
0647ee3c40
Коммит
2ae2b3babd
|
@ -467,14 +467,9 @@ NS_IMETHODIMP nsRenderingContextGTK::CreateDrawingSurface(nsRect *aBounds,
|
|||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
GdkPixmap *pixmap = ::gdk_pixmap_new(mRenderingSurface->drawable,
|
||||
aBounds->width,
|
||||
aBounds->height,
|
||||
-1);
|
||||
|
||||
nsDrawingSurfaceGTK * surface = new nsDrawingSurfaceGTK();
|
||||
|
||||
surface->drawable = pixmap ;
|
||||
surface->drawable = mRenderingSurface->drawable;
|
||||
surface->gc = mRenderingSurface->gc;
|
||||
|
||||
aSurface = (nsDrawingSurface)surface;
|
||||
|
|
Загрузка…
Ссылка в новой задаче