mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-08 22:07:03 +00:00
[client] render_queue: fix failure to show spice at startup
This commit is contained in:
parent
48735cd001
commit
a4f5bc7320
@ -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 New Issue
Block a user