Texture atlas compilation fixes
This commit is contained in:
parent
30ed7a781e
commit
eb55ad5644
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ namespace psemek::gfx
|
||||||
{
|
{
|
||||||
using atlas_type = util::atlas<Pixel, 2, Key, Compare>;
|
using atlas_type = util::atlas<Pixel, 2, Key, Compare>;
|
||||||
|
|
||||||
texture_atlas_2d(Pixel background = Pixel{}, std::size_t padding = 0, atlas_type::padding_mode mode = atlas_type::padding_mode::default_value, Compare compare = Compare{});
|
texture_atlas_2d(Pixel background = Pixel{}, std::size_t padding = 0, typename atlas_type::padding_mode mode = atlas_type::padding_mode::default_value, Compare compare = Compare{});
|
||||||
|
|
||||||
using texture_view = texture_view_2d;
|
using texture_view = texture_view_2d;
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@ namespace psemek::gfx
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Pixel, typename Key, typename Compare>
|
template <typename Pixel, typename Key, typename Compare>
|
||||||
texture_atlas_2d<Pixel, Key, Compare>::texture_atlas_2d(Pixel background, std::size_t padding, atlas_type::padding_mode mode, Compare compare)
|
texture_atlas_2d<Pixel, Key, Compare>::texture_atlas_2d(Pixel background, std::size_t padding, typename atlas_type::padding_mode mode, Compare compare)
|
||||||
: atlas_(std::move(background), padding, mode, std::move(compare))
|
: atlas_(std::move(background), padding, mode, std::move(compare))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue