All of lore.kernel.org
 help / color / mirror / Atom feed
From: <sygus@cat-lan.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] ioemu : sdl without OpenGl fix
Date: Thu, 10 Jul 2008 15:11:04 +0200	[thread overview]
Message-ID: <b3d3ad0a319995bfebc87755be529119@localhost> (raw)


Hi,

Here is a little patch for a bug introduced recently in the SDL ioemu
rendering, in case we disable OpenGl. Without this patch, the SDL window
just stoppped when there were a call to ds->dpy_setdata, because the
pointer was not set.

Kind regards,
Frédéric Guihéry

Signed-off-by: Frédéric Guihéry <fred@cat-lan.com>

diff -r 2d100fe81044 tools/ioemu/sdl.c
--- a/tools/ioemu/sdl.c	Wed Jul 09 16:00:05 2008 +0100
+++ b/tools/ioemu/sdl.c	Thu Jul 10 14:58:05 2008 +0200
@@ -777,6 +777,8 @@ void sdl_display_init(DisplayState *ds, 
         ds->dpy_setdata = opengl_setdata;
     else
         ds->dpy_setdata = sdl_setdata;
+#else
+    ds->dpy_setdata = sdl_setdata;
 #endif
 
     sdl_resize(ds, 640, 400);

             reply	other threads:[~2008-07-10 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-10 13:11 sygus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-11 23:20 [PATCH] ioemu: sdl without OpenGl fix Frédéric Guihéry
2008-07-12 14:53 ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3d3ad0a319995bfebc87755be529119@localhost \
    --to=sygus@cat-lan.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.