mirror of https://github.com/xemu-project/xemu.git
ui: Refactor
This commit is contained in:
parent
6b97fbb3ef
commit
b52cec8a28
1258
ui/xemu-hud.cc
1258
ui/xemu-hud.cc
File diff suppressed because it is too large
Load Diff
|
@ -38,7 +38,7 @@ void xemu_toggle_fullscreen(void);
|
||||||
// Implemented in xemu_hud.cc
|
// Implemented in xemu_hud.cc
|
||||||
void xemu_hud_init(SDL_Window *window, void *sdl_gl_context);
|
void xemu_hud_init(SDL_Window *window, void *sdl_gl_context);
|
||||||
void xemu_hud_cleanup(void);
|
void xemu_hud_cleanup(void);
|
||||||
void xemu_hud_render(SDL_Window *window);
|
void xemu_hud_render(void);
|
||||||
void xemu_hud_process_sdl_events(SDL_Event *event);
|
void xemu_hud_process_sdl_events(SDL_Event *event);
|
||||||
void xemu_hud_should_capture_kbd_mouse(int *kbd, int *mouse);
|
void xemu_hud_should_capture_kbd_mouse(int *kbd, int *mouse);
|
||||||
|
|
||||||
|
|
|
@ -1082,7 +1082,7 @@ static void xemu_sdl2_gl_render_surface(struct sdl2_console *scon)
|
||||||
|
|
||||||
// FIXME: Finer locking
|
// FIXME: Finer locking
|
||||||
qemu_mutex_lock_iothread();
|
qemu_mutex_lock_iothread();
|
||||||
xemu_hud_render(scon->real_window);
|
xemu_hud_render();
|
||||||
qemu_mutex_unlock_iothread();
|
qemu_mutex_unlock_iothread();
|
||||||
|
|
||||||
// xb_surface_gl_render_texture(scon->surface);
|
// xb_surface_gl_render_texture(scon->surface);
|
||||||
|
|
Loading…
Reference in New Issue