From 5502fa4ebeae42833a71e0fcdaf10770de08e08c Mon Sep 17 00:00:00 2001 From: deve Date: Mon, 17 Oct 2016 08:23:27 +0200 Subject: [PATCH] Declare custom alpha also when bindless sampler is enabled --- data/shaders/transparent.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/shaders/transparent.frag b/data/shaders/transparent.frag index 2e04c5433..03250aa21 100644 --- a/data/shaders/transparent.frag +++ b/data/shaders/transparent.frag @@ -2,8 +2,8 @@ layout(bindless_sampler) uniform sampler2D tex; #else uniform sampler2D tex; -uniform float custom_alpha; #endif +uniform float custom_alpha; in vec2 uv; in vec4 color;