summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders
diff options
context:
space:
mode:
authorRay <[email protected]>2018-01-19 11:41:51 +0100
committerGitHub <[email protected]>2018-01-19 11:41:51 +0100
commit750323da53dd34cb02d2919066259da7ab7dc7a9 (patch)
tree43104b379b10760c79c7531a9140406c32dc62ac /examples/shaders
parentf818ec0e05ebc2d1292b56281d4c4291f0514539 (diff)
parent5931bd501cb671854a85b4312bd4da614b6c8797 (diff)
downloadraylib-750323da53dd34cb02d2919066259da7ab7dc7a9.tar.gz
raylib-750323da53dd34cb02d2919066259da7ab7dc7a9.zip
Merge branch 'develop' into testing_uwp
Diffstat (limited to 'examples/shaders')
-rw-r--r--examples/shaders/shaders_postprocessing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/shaders/shaders_postprocessing.c b/examples/shaders/shaders_postprocessing.c
index f6ed8205..b8b5f6ae 100644
--- a/examples/shaders/shaders_postprocessing.c
+++ b/examples/shaders/shaders_postprocessing.c
@@ -83,6 +83,7 @@ int main()
// NOTE 2: We load the correct shader depending on GLSL version
Shader shaders[MAX_POSTPRO_SHADERS];
+ // NOTE: Defining 0 (NULL) for vertex shader forces usage of internal default vertex shader
shaders[FX_GRAYSCALE] = LoadShader(0, FormatText("resources/shaders/glsl%i/grayscale.fs", GLSL_VERSION));
shaders[FX_POSTERIZATION] = LoadShader(0, FormatText("resources/shaders/glsl%i/posterization.fs", GLSL_VERSION));
shaders[FX_DREAM_VISION] = LoadShader(0, FormatText("resources/shaders/glsl%i/dream_vision.fs", GLSL_VERSION));