diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-30 16:49:50 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-06-30 22:35:17 +0200 |
commit | 00e1caf45d1a5d40f428c3e43d2c79578c841e75 (patch) | |
tree | 40f290cde64de9a93e600522aed525749e78e13e /common/gl_canvas.c | |
parent | 62d0c076eb2eb0f9954c3870f31b4dd685e5f95c (diff) | |
download | spice-00e1caf45d1a5d40f428c3e43d2c79578c841e75.tar.gz spice-00e1caf45d1a5d40f428c3e43d2c79578c841e75.tar.xz spice-00e1caf45d1a5d40f428c3e43d2c79578c841e75.zip |
Simplify SpiceLineAttr by removing unsed stuff
Also in new protocol don't send style data if not needed.
Diffstat (limited to 'common/gl_canvas.c')
-rw-r--r-- | common/gl_canvas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gl_canvas.c b/common/gl_canvas.c index 5a03d155..10745b4c 100644 --- a/common/gl_canvas.c +++ b/common/gl_canvas.c @@ -617,7 +617,7 @@ static void gl_canvas_draw_stroke(SpiceCanvas *spice_canvas, SpiceRect *bbox, Sp if (stroke->attr.flags & SPICE_LINE_FLAGS_STYLED) { WARN("SPICE_LINE_FLAGS_STYLED"); } - glc_set_line_width(canvas->glc, fix_to_double(stroke->attr.width)); + glc_set_line_width(canvas->glc, 1.0); path = get_path(canvas, stroke->path); glc_stroke_path(canvas->glc, path); |