From e0c67d8043fe7db458610819dc580ce839c05bd1 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Sun, 30 Aug 2020 21:20:24 +0300 Subject: [PATCH] Fix pixel attributes (std::array -> geom::vector) --- libs/gfx/include/psemek/gfx/texture.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gfx/include/psemek/gfx/texture.hpp b/libs/gfx/include/psemek/gfx/texture.hpp index 37b86a39..186de1b0 100644 --- a/libs/gfx/include/psemek/gfx/texture.hpp +++ b/libs/gfx/include/psemek/gfx/texture.hpp @@ -19,7 +19,7 @@ namespace psemek::gfx }; template <> - struct pixel_traits> + struct pixel_traits> { static constexpr GLenum internal_format = gl::RGB8; static constexpr GLenum format = gl::RGB; @@ -27,7 +27,7 @@ namespace psemek::gfx }; template <> - struct pixel_traits> + struct pixel_traits> { static constexpr GLenum internal_format = gl::RGBA8; static constexpr GLenum format = gl::RGBA;