mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 13:07:54 +00:00
[client] render_queue: fix failure to show spice at startup
This commit is contained in:
parent
48735cd001
commit
a4f5bc7320
2 changed files with 3 additions and 4 deletions
|
@ -1063,7 +1063,6 @@ bool app_useSpiceDisplay(bool enable)
|
|||
{
|
||||
purespice_connectChannel(PS_CHANNEL_DISPLAY);
|
||||
renderQueue_spiceShow(true);
|
||||
overlaySplash_show(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "common/ll.h"
|
||||
#include "main.h"
|
||||
#include "overlays.h"
|
||||
|
||||
struct ll * l_renderQueue = NULL;
|
||||
|
||||
|
@ -54,9 +55,6 @@ void renderQueue_clear(void)
|
|||
|
||||
void renderQueue_spiceConfigure(int width, int height)
|
||||
{
|
||||
// reconfigurations invalidate the entire queue
|
||||
renderQueue_clear();
|
||||
|
||||
RenderCommand * cmd = malloc(sizeof(*cmd));
|
||||
cmd->op = SPICE_OP_CONFIGURE;
|
||||
cmd->spiceConfigure.width = width;
|
||||
|
@ -135,6 +133,8 @@ void renderQueue_process(void)
|
|||
|
||||
case SPICE_OP_SHOW:
|
||||
RENDERER(spiceShow, cmd->spiceShow.show);
|
||||
if (cmd->spiceShow.show)
|
||||
overlaySplash_show(false);
|
||||
break;
|
||||
}
|
||||
free(cmd);
|
||||
|
|
Loading…
Reference in a new issue