From 96cc964d892eff4fa803b50cfe64cc3fc29d22e8 Mon Sep 17 00:00:00 2001 From: hizzlekizzle Date: Mon, 31 Oct 2016 12:04:43 -0500 Subject: [PATCH] whoops, missed some floats --- misc/colorspace-tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/colorspace-tools.h b/misc/colorspace-tools.h index 4f8ebf5..01895bf 100644 --- a/misc/colorspace-tools.h +++ b/misc/colorspace-tools.h @@ -34,7 +34,7 @@ vec3 DecodeGamma(vec3 color, float gamma) } #ifdef GAMMA_CORRECTION -float4 GammaPass(float4 color, vec2 texcoord) +vec4 GammaPass(vec4 color, vec2 texcoord) { const float GammaConst = 2.233333; color.rgb = EncodeGamma(color.rgb, GammaConst);