summaryrefslogtreecommitdiff
path: root/src/render/shaders/osd.h
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-09-14 08:57:42 -0400
committerAndrew Opalach <andrew@akon.city> 2026-09-14 08:57:42 -0400
commit8f208c26b6fa1a9f3372679c047cab559c06e26b (patch)
tree323d894d6ff8e1ed1445c40cb1e2f5d3cee5e8e8 /src/render/shaders/osd.h
parentc66c7c64ebd16287b892f8a780cffcabafba3799 (diff)
downloadcamu-8f208c26b6fa1a9f3372679c047cab559c06e26b.tar.gz
camu-8f208c26b6fa1a9f3372679c047cab559c06e26b.tar.bz2
camu-8f208c26b6fa1a9f3372679c047cab559c06e26b.zip
Server-side fixes from DIRECT_MODE testing
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/render/shaders/osd.h')
-rw-r--r--src/render/shaders/osd.h2
1 files changed, 1 insertions, 1 deletions
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"