From 4573556bb59266395c8bbc868d6f0b8793ceb51a Mon Sep 17 00:00:00 2001 From: ramollia <@> Date: Wed, 24 Sep 2025 15:05:15 +0200 Subject: [PATCH] moved the img directory to resources --- {img => src/main/resources/image}/background.jpg | Bin {img => src/main/resources/image}/icon.png | Bin src/main/resources/shaders/gui_fragment.glsl | 9 --------- src/main/resources/shaders/gui_vertex.glsl | 11 ----------- 4 files changed, 20 deletions(-) rename {img => src/main/resources/image}/background.jpg (100%) rename {img => src/main/resources/image}/icon.png (100%) delete mode 100644 src/main/resources/shaders/gui_fragment.glsl delete mode 100644 src/main/resources/shaders/gui_vertex.glsl diff --git a/img/background.jpg b/src/main/resources/image/background.jpg similarity index 100% rename from img/background.jpg rename to src/main/resources/image/background.jpg diff --git a/img/icon.png b/src/main/resources/image/icon.png similarity index 100% rename from img/icon.png rename to src/main/resources/image/icon.png diff --git a/src/main/resources/shaders/gui_fragment.glsl b/src/main/resources/shaders/gui_fragment.glsl deleted file mode 100644 index f1d5ccd..0000000 --- a/src/main/resources/shaders/gui_fragment.glsl +++ /dev/null @@ -1,9 +0,0 @@ -#version 450 core - -in vec3 pass_color; - -out vec4 out_color; - -void main(void) { - out_color = vec4(pass_color, 1.0); -} diff --git a/src/main/resources/shaders/gui_vertex.glsl b/src/main/resources/shaders/gui_vertex.glsl deleted file mode 100644 index 60e9cb4..0000000 --- a/src/main/resources/shaders/gui_vertex.glsl +++ /dev/null @@ -1,11 +0,0 @@ -#version 450 core - -layout(location = 0) in vec2 in_position; -layout(location = 1) in vec3 in_color; - -out vec3 pass_color; - -void main(void) { - gl_Position = vec4(in_position, 0.0f, 1.0f); - pass_color = in_color; -}