diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/console.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/console.c b/ui/console.c index fe950c6026..791b4fcea2 100644 --- a/ui/console.c +++ b/ui/console.c @@ -261,6 +261,16 @@ void graphic_hw_update(QemuConsole *con) } } +void graphic_hw_gl_block(QemuConsole *con, bool block) +{ + if (!con) { + con = active_console; + } + if (con && con->hw_ops->gl_block) { + con->hw_ops->gl_block(con->hw, block); + } +} + void graphic_hw_invalidate(QemuConsole *con) { if (!con) { |