aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_debugtext.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2020-05-18 21:49:32 +0200
committerAndre Weissflog <floooh@gmail.com>2020-05-18 21:49:41 +0200
commitab1e294ebbe3b23fc9c4883b6276c3acdd5c6088 (patch)
tree5baed7439d8fc6d4dbda6fb3f38ed2b652773656 /util/sokol_debugtext.h
parente5d838728a1e371d9648128028db57a7ede2e346 (diff)
sokol_debugtext.h: fix embedded GLSL shader
Diffstat (limited to 'util/sokol_debugtext.h')
-rw-r--r--util/sokol_debugtext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h
index cb7d5c2b..7571291a 100644
--- a/util/sokol_debugtext.h
+++ b/util/sokol_debugtext.h
@@ -1098,7 +1098,7 @@ static const char* _sdtx_fs_src =
"in vec4 color;\n"
"out vec4 frag_color;\n"
"void main() {\n"
- " frag_color = texture(tex, uv) * color;\n"
+ " frag_color = texture(tex, uv).xxxx * color;\n"
"}\n";
#elif defined(SOKOL_GLES2) || defined(SOKOL_GLES3)
static const char* _sdtx_vs_src = "FIXME!";