summaryrefslogtreecommitdiff
path: root/source/dw/app/shader
diff options
context:
space:
mode:
Diffstat (limited to 'source/dw/app/shader')
-rw-r--r--source/dw/app/shader/main.frag.glsl2
-rw-r--r--source/dw/app/shader/main.vert.glsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/dw/app/shader/main.frag.glsl b/source/dw/app/shader/main.frag.glsl
index b3da28d..6f14883 100644
--- a/source/dw/app/shader/main.frag.glsl
+++ b/source/dw/app/shader/main.frag.glsl
@@ -2,6 +2,6 @@
out vec4 col;
-void main() {
+void main(void) {
col = vec4(0.409f, 0.805f, 0.210f, 1.0f);
}
diff --git a/source/dw/app/shader/main.vert.glsl b/source/dw/app/shader/main.vert.glsl
index a60e9ca..16df6f0 100644
--- a/source/dw/app/shader/main.vert.glsl
+++ b/source/dw/app/shader/main.vert.glsl
@@ -2,6 +2,6 @@
in vec3 pos;
-void main() {
+void main(void) {
gl_Position = vec4(pos.x, pos.y, pos.z, 1.0f);
}