diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-25 16:41:21 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-25 16:41:21 +0200 |
commit | 0d97856bf6974450a8e72816be7bf271af04a458 (patch) | |
tree | a503cf7d7330970b468310a9c05860b8fbc7f3e4 /shaders | |
parent | f1df7c20129a1f1cc47c47e5731efd10f8e49aeb (diff) |
rename shader
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/tile.cpp (renamed from shaders/tile-shader.cpp) | 6 | ||||
-rw-r--r-- | shaders/tile.frag (renamed from shaders/tile-shader.frag) | 0 | ||||
-rw-r--r-- | shaders/tile.hpp (renamed from shaders/tile-shader.hpp) | 0 | ||||
-rw-r--r-- | shaders/tile.vert (renamed from shaders/tile-shader.vert) | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/shaders/tile-shader.cpp b/shaders/tile.cpp index 50444cc8..2a7f50f1 100644 --- a/shaders/tile-shader.cpp +++ b/shaders/tile.cpp @@ -1,4 +1,4 @@ -#include "shaders/tile-shader.hpp" +#include "shaders/tile.hpp" #include "loader.hpp" #include "compat/assert.hpp" #include <Magnum/Math/Vector4.h> @@ -15,8 +15,8 @@ tile_shader::tile_shader() GL::Shader vert{GL::Version::GL460, GL::Shader::Type::Vertex}; GL::Shader frag{GL::Version::GL460, GL::Shader::Type::Fragment}; - vert.addSource(loader.shader("shaders/tile-shader.vert")); - frag.addSource(loader.shader("shaders/tile-shader.frag")); + vert.addSource(loader.shader("shaders/tile.vert")); + frag.addSource(loader.shader("shaders/tile.frag")); CORRADE_INTERNAL_ASSERT_OUTPUT(vert.compile()); CORRADE_INTERNAL_ASSERT_OUTPUT(frag.compile()); attachShaders({vert, frag}); diff --git a/shaders/tile-shader.frag b/shaders/tile.frag index 5c070ebe..5c070ebe 100644 --- a/shaders/tile-shader.frag +++ b/shaders/tile.frag diff --git a/shaders/tile-shader.hpp b/shaders/tile.hpp index bbe57e52..bbe57e52 100644 --- a/shaders/tile-shader.hpp +++ b/shaders/tile.hpp diff --git a/shaders/tile-shader.vert b/shaders/tile.vert index 8b3f2dba..8b3f2dba 100644 --- a/shaders/tile-shader.vert +++ b/shaders/tile.vert |