From 3ed0541647ea553a28d5face7f7b57eda5e1a375 Mon Sep 17 00:00:00 2001 From: drfrag Date: Wed, 26 Jun 2019 03:26:57 +0200 Subject: [PATCH] Revert "- Fixed dithering in the present shader." This reverts commit b359b65f35c442e86693e019751e94fbc7ead600. It gave a shader compile error on hardware not supporting GL 4.2. --- wadsrc/static/shaders/glsl/present.fp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/shaders/glsl/present.fp b/wadsrc/static/shaders/glsl/present.fp index bf74cf719..49ffd0b2e 100644 --- a/wadsrc/static/shaders/glsl/present.fp +++ b/wadsrc/static/shaders/glsl/present.fp @@ -2,13 +2,13 @@ in vec2 TexCoord; out vec4 FragColor; -layout(binding=0) uniform sampler2D InputTexture; +uniform sampler2D InputTexture; uniform float InvGamma; uniform float Contrast; uniform float Brightness; uniform float Saturation; uniform int GrayFormula; -layout(binding=1) uniform sampler2D DitherTexture; +uniform sampler2D DitherTexture; uniform float ColorScale; uniform int HdrMode;