mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-10 01:28:41 -06:00
oh right, I need to use 150+
This commit is contained in:
parent
b8d05d5708
commit
52099c5266
|
@ -7,7 +7,7 @@ pub struct Vertex {
|
|||
implement_vertex!(Vertex, position);
|
||||
|
||||
pub const VERTEX_SHADER: &str = r#"
|
||||
#version 140 core
|
||||
#version 150 core
|
||||
|
||||
in vec2 position;
|
||||
|
||||
|
@ -16,7 +16,7 @@ pub const VERTEX_SHADER: &str = r#"
|
|||
}
|
||||
"#;
|
||||
pub const FRAGMENT_SHADER: &str = r#"
|
||||
#version 140 core
|
||||
#version 150 core
|
||||
|
||||
out vec4 color;
|
||||
uniform vec4 u_color;
|
||||
|
|
Loading…
Reference in a new issue