summaryrefslogtreecommitdiffhomepage
path: root/shaders
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-05-10 14:11:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-05-11 00:33:47 +0200
commitf29ee994108bf443de4aeeabd7519f13ca4b7a4d (patch)
tree6f1ad0d719dcfcc5c5c199ce1d25c5531550835d /shaders
parentaad0d8fd8e2d3409db1b591c6dbc401e02eaeef3 (diff)
wip virtual entity stuff
Diffstat (limited to 'shaders')
-rw-r--r--shaders/shader.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/shaders/shader.hpp b/shaders/shader.hpp
index 00bac08e..7e73974b 100644
--- a/shaders/shader.hpp
+++ b/shaders/shader.hpp
@@ -1,5 +1,4 @@
#pragma once
-#include "compat/defs.hpp"
#include "tile-defs.hpp"
#include <Corrade/Utility/Move.h>
#include <Magnum/GL/AbstractShaderProgram.h>
@@ -11,15 +10,12 @@ namespace floormat {
struct local_coords;
-struct tile_shader : GL::AbstractShaderProgram
+struct tile_shader final : GL::AbstractShaderProgram
{
using Position = GL::Attribute<0, Vector3>;
using TextureCoordinates = GL::Attribute<1, Vector2>;
using Depth = GL::Attribute<2, float>;
- fm_DECLARE_DEFAULT_MOVE_ASSIGNMENT_(tile_shader);
- fm_DECLARE_DELETED_COPY_ASSIGNMENT(tile_shader);
-
explicit tile_shader();
~tile_shader() override;