debuggers.hg
changeset 18081:d14c017e8163
ioemu: sdl without OpenGl fix
Signed-off-by: Frederic Guihery <sygus@cat-lan.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Frederic Guihery <sygus@cat-lan.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Mon Jul 14 10:07:11 2008 +0100 (2008-07-14) |
parents | e2cec6725280 |
children | 2463e2ef602f |
files | tools/ioemu/sdl.c |
line diff
1.1 --- a/tools/ioemu/sdl.c Mon Jul 14 10:04:41 2008 +0100 1.2 +++ b/tools/ioemu/sdl.c Mon Jul 14 10:07:11 2008 +0100 1.3 @@ -772,11 +772,10 @@ void sdl_display_init(DisplayState *ds, 1.4 ds->dpy_resize = sdl_resize; 1.5 ds->dpy_resize_shared = sdl_resize_shared; 1.6 ds->dpy_refresh = sdl_refresh; 1.7 + ds->dpy_setdata = sdl_setdata; 1.8 #ifdef CONFIG_OPENGL 1.9 if (opengl_enabled) 1.10 ds->dpy_setdata = opengl_setdata; 1.11 - else 1.12 - ds->dpy_setdata = sdl_setdata; 1.13 #endif 1.14 1.15 sdl_resize(ds, 640, 400);