Fix getting texture pixels into pixmap
This commit is contained in:
parent
10e00d7c92
commit
2898e2a2c3
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ namespace psemek::gfx
|
|||
template <typename Pixmap>
|
||||
Pixmap basic_texture<D, Target>::pixels() const
|
||||
{
|
||||
using traits = pixel_traits<typename Pixmap::pixel_type>;
|
||||
using traits = pixel_traits<typename Pixmap::value_type>;
|
||||
|
||||
std::array<std::size_t, D> size;
|
||||
for (std::size_t i = 0; i < D; ++i) size[i] = size_[i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue