From b8d05d57089f4444a25dfb5d9a1b802786c912e0 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 16 Jan 2023 16:27:54 +0100 Subject: [PATCH] use core in colored2d shader --- src/game/shaders/colored2d.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/shaders/colored2d.rs b/src/game/shaders/colored2d.rs index af22970..947e056 100644 --- a/src/game/shaders/colored2d.rs +++ b/src/game/shaders/colored2d.rs @@ -7,7 +7,7 @@ pub struct Vertex { implement_vertex!(Vertex, position); pub const VERTEX_SHADER: &str = r#" - #version 140 + #version 140 core in vec2 position; @@ -16,7 +16,7 @@ pub const VERTEX_SHADER: &str = r#" } "#; pub const FRAGMENT_SHADER: &str = r#" - #version 140 + #version 140 core out vec4 color; uniform vec4 u_color;