summaryrefslogtreecommitdiff
path: root/hw/kdrive/fake/fake.c
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-01-02 14:59:07 +0600
committerMikhail Gusarov <dottedmag@dottedmag.net>2010-01-06 19:47:53 +0600
commit5337ddcfd9dc2a5b823da39df7adaad6692214f0 (patch)
tree594a6ede413cc3339563d44d3d221d36b0246484 /hw/kdrive/fake/fake.c
parent62883b499b72f678ab055de4d0370227ae441370 (diff)
kdrive: Move Xephyr-specific fields out of KdScreenInfo
memory_base, memory_size, off_screen_base fields in KdScreenInfo are used only by fake EXA in Xephyr. Move them into Xephyr, cleanup Xfake and Xfbdev. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Diffstat (limited to 'hw/kdrive/fake/fake.c')
-rw-r--r--hw/kdrive/fake/fake.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/kdrive/fake/fake.c b/hw/kdrive/fake/fake.c
index ea88f0edb..a4044b68c 100644
--- a/hw/kdrive/fake/fake.c
+++ b/hw/kdrive/fake/fake.c
@@ -171,9 +171,6 @@ fakeMapFramebuffer (KdScreenInfo *screen)
if (priv->base)
free (priv->base);
priv->base = malloc (priv->bytes_per_line * screen->height);
- screen->memory_base = (CARD8 *) (priv->base);
- screen->memory_size = 0;
- screen->off_screen_base = 0;
if (scrpriv->shadow)
{