WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] ioemu: sdl without OpenGl fix

To: Frédéric Guihéry <sygus@xxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] ioemu: sdl without OpenGl fix
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Sat, 12 Jul 2008 15:53:48 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 12 Jul 2008 07:53:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4877EAD5.7040107@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4877EAD5.7040107@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
Frédéric Guihéry wrote:

> 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 <sygus@xxxxxxxxxxx>
> 


Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

> 
> 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);
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>