summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/renderer_libplacebo.c10
-rw-r--r--src/render/shaders/osd.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/render/renderer_libplacebo.c b/src/render/renderer_libplacebo.c
index c0a413a..d098444 100644
--- a/src/render/renderer_libplacebo.c
+++ b/src/render/renderer_libplacebo.c
@@ -756,11 +756,11 @@ static bool renderer_lp_render(struct camu_renderer *renderer, struct camu_scree
lr->params.hooks = NULL;
lr->params.num_hooks = 0;
- // Considerations about the result of the loop above.
- // 1. Any given call to video_buffer_read() may not produce a frame.
- // 2. If any buffer signals EOF, by the time run_queue() is called at the bottom of the loop,
- // all previous buffers could have been queued for removal. Meaning scr->videos would be
- // empty while there could still be data we want to display rendered to the frame.
+ // Considerations for result.
+ // 1. Any given call to video_buffer_read() may not produce a frame.
+ // 2. If any buffer signals EOF, by the time run_queue() is called at the bottom of the loop,
+ // all previous buffers may have been queued for removal. Meaning scr->videos could be
+ // empty while there's still data we want to display rendered to the frame.
if (!(result & RESULT_SUBMIT) && !force) {
nn_thread_sleep(NNWT_TS_FROM_USEC(256));
return true;
diff --git a/src/render/shaders/osd.h b/src/render/shaders/osd.h
index 8a5fd6c..32e12e6 100644
--- a/src/render/shaders/osd.h
+++ b/src/render/shaders/osd.h
@@ -50,7 +50,7 @@ static char osd_shader[] = \
" color = mix(color,vec4(tcolor.xyz,alpha)+float(bar > dbar)*0.15,float(c.x < dbar));\n"
" color = mix(color,vec4(tcolor.xyz,alpha-0.1)+float(bar > bbar)*0.15,float(c.x < bbar)*0.5);\n"
" color *= float(uv.y <= 5.);\n"
-" if (paused != 0u) {\n"
+" if (connecting == 0u && paused != 0u) {\n"
" color = mix(color,bcolor,in_box(uv,pos1-vec2(2.,2.),pos1+vec2(STRW(6.)+1.,STRH(1.)+1.)));\n"
" }\n"
" color = mix(color,bcolor,in_box(uv,pos2-vec2(3.,1.),pos2+vec2(STRW(width1)+2.,STRH(1.)+2.)));\n"