summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_simple_mask.c
diff options
context:
space:
mode:
authorRay <[email protected]>2020-03-05 13:39:11 +0100
committerRay <[email protected]>2020-03-05 13:39:11 +0100
commitd323767d7903c6b5ac56e4a96e71a825c05a785e (patch)
treee930678eb56f97935f00c6506038defbf8b99572 /examples/web/shaders/shaders_simple_mask.c
parentd80c0d839dd70a90df11913fd24cdbcbd6bf356e (diff)
downloadraylib.com-d323767d7903c6b5ac56e4a96e71a825c05a785e.tar.gz
raylib.com-d323767d7903c6b5ac56e4a96e71a825c05a785e.zip
Update shader examples to run on web
Diffstat (limited to 'examples/web/shaders/shaders_simple_mask.c')
-rw-r--r--examples/web/shaders/shaders_simple_mask.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/web/shaders/shaders_simple_mask.c b/examples/web/shaders/shaders_simple_mask.c
index 199a925..5854e29 100644
--- a/examples/web/shaders/shaders_simple_mask.c
+++ b/examples/web/shaders/shaders_simple_mask.c
@@ -90,8 +90,7 @@ int main(void)
model3 = LoadModelFromMesh(sphere);
// Load the shader
- shader = LoadShader(FormatText("resources/shaders/glsl%i/mask.vs", GLSL_VERSION),
- FormatText("resources/shaders/glsl%i/mask.fs", GLSL_VERSION));
+ shader = LoadShader(0, FormatText("resources/shaders/glsl%i/mask.fs", GLSL_VERSION));
// Load and apply the diffuse texture (colour map)
texDiffuse = LoadTexture("resources/plasma.png");