summaryrefslogtreecommitdiff
path: root/src/cairo/cdcaironative_gdk.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-11-03 18:37:03 +0000
committerscuri <scuri>2010-11-03 18:37:03 +0000
commit80f074806db0fdd9646f7b5892d43a558c3a8f9b (patch)
tree747314b935c192bad153e65a86af7916e99165ac /src/cairo/cdcaironative_gdk.c
parentb7b587a3d74f4ca48fae7b6b15d2c20f88c55738 (diff)
Fixed: PutImageRGB, PutImageRGBA, PutImageMap and Pattern when in 64bits using the Cairo context plus base driver.
Improved double buffer update.
Diffstat (limited to 'src/cairo/cdcaironative_gdk.c')
-rw-r--r--src/cairo/cdcaironative_gdk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo/cdcaironative_gdk.c b/src/cairo/cdcaironative_gdk.c
index e233ed6..143efaf 100644
--- a/src/cairo/cdcaironative_gdk.c
+++ b/src/cairo/cdcaironative_gdk.c
@@ -31,6 +31,7 @@ int cdactivate(cdCtxCanvas *ctxcanvas)
if (old_w != canvas->w || old_h != canvas->h)
{
+ /* Re-create the context so internal size is updated. */
cairo_destroy(ctxcanvas->cr);
ctxcanvas->cr = gdk_cairo_create(ctxcanvas->drawable);