提交 6e60065f 编写于 作者: P pbrook

Fix SDL slowness.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6373 c046a42c-6fe2-441c-8c8c-71466251a162
上级 413bfb7c
......@@ -62,7 +62,7 @@ static void sdl_update(DisplayState *ds, int x, int y, int w, int h)
// printf("updating x=%d y=%d w=%d h=%d\n", x, y, w, h);
SDL_BlitSurface(guest_screen, &rec, real_screen, &rec);
SDL_Flip(real_screen);
SDL_UpdateRect(real_screen, x, y, w, h);
}
static void sdl_setdata(DisplayState *ds)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册