summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/shaders/triangle.frag2
-rw-r--r--assets/shaders/triangle.vert4
2 files changed, 3 insertions, 3 deletions
diff --git a/assets/shaders/triangle.frag b/assets/shaders/triangle.frag
index dd6d148..8455d04 100644
--- a/assets/shaders/triangle.frag
+++ b/assets/shaders/triangle.frag
@@ -6,5 +6,5 @@ layout(location = 0) in vec3 in_position;
layout(location = 0) out vec4 out_colour;
void main() {
- out_colour = vec4(in_position.r + 0.5, in_position.g + 0.5, in_position.b + 0.5, 1.0);
+ out_colour = vec4(in_position.r + 0.5, in_position.g + 0.5, in_position.b + 0.5, 1.0);
} \ No newline at end of file
diff --git a/assets/shaders/triangle.vert b/assets/shaders/triangle.vert
index 3dcf931..e34112d 100644
--- a/assets/shaders/triangle.vert
+++ b/assets/shaders/triangle.vert
@@ -6,6 +6,6 @@ layout(location = 0) in vec3 in_position;
layout(location = 0) out vec3 out_position;
void main() {
- gl_Position = vec4(in_position, 1.0);
- out_position = in_position;
+ gl_Position = vec4(in_position, 1.0);
+ out_position = in_position;
} \ No newline at end of file