From a82718cb7f06e1351eee865cc2b2cc20d69eabaa Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 10 Dec 2017 14:25:00 +0500 Subject: Fixed shader compilation errors --- cwd/shaders/face.fs | 2 +- cwd/shaders/face.vs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cwd/shaders/face.fs b/cwd/shaders/face.fs index 926149b..c4405d4 100644 --- a/cwd/shaders/face.fs +++ b/cwd/shaders/face.fs @@ -2,7 +2,7 @@ in VS_OUT { vec2 UvPosition; - vec4 Texture; + vec2 Texture; vec3 Color; vec2 Light; } fs_in; diff --git a/cwd/shaders/face.vs b/cwd/shaders/face.vs index dbb8dd8..5431ff2 100644 --- a/cwd/shaders/face.vs +++ b/cwd/shaders/face.vs @@ -8,7 +8,7 @@ layout (location = 13) in vec2 light; out VS_OUT { vec2 UvPosition; - vec4 Texture; + vec2 Texture; vec3 Color; vec2 Light; } vs_out; -- cgit v1.2.3