projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unlock rendering
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
model_font.h
diff --git
a/shaders/model_font.h
b/shaders/model_font.h
index 65d53e3f83d1a1a43d97cdbb0661af2643e5a1cb..6c6027d62df129c4cd0b6e70e48bc21d67ff5497 100644
(file)
--- a/
shaders/model_font.h
+++ b/
shaders/model_font.h
@@
-68,7
+68,7
@@
static struct vg_shader _shader_model_font = {
{
.orig_file = "shaders/model_font.fs",
.static_src =
{
.orig_file = "shaders/model_font.fs",
.static_src =
-"
out vec4 FragColo
r;\n"
+"
layout (location = 0) out vec4 oColou
r;\n"
"\n"
"uniform sampler2D uTexMain;\n"
"uniform vec4 uColour;\n"
"\n"
"uniform sampler2D uTexMain;\n"
"uniform vec4 uColour;\n"
@@
-102,7
+102,7
@@
static struct vg_shader _shader_model_font = {
"void main()\n"
"{\n"
" compute_motion_vectors();\n"
"void main()\n"
"{\n"
" compute_motion_vectors();\n"
-"
FragColo
r = texture( uTexMain, aUv ) * uColour;\n"
+"
oColou
r = texture( uTexMain, aUv ) * uColour;\n"
"}\n"
""},
};
"}\n"
""},
};