From f34f1312ab0117d20bd6136e4842d223527effd8 Mon Sep 17 00:00:00 2001 From: samcake Date: Wed, 1 Feb 2017 15:53:49 -0800 Subject: [PATCH] Few fixes --- libraries/gpu/src/gpu/Image.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libraries/gpu/src/gpu/Image.h b/libraries/gpu/src/gpu/Image.h index bda16910c4..67d2071c4a 100644 --- a/libraries/gpu/src/gpu/Image.h +++ b/libraries/gpu/src/gpu/Image.h @@ -122,7 +122,7 @@ namespace image { public: using Format = typename P::Format; using Storage = typename P::Storage; - using Block = typename PixelBlock; + using Block = PixelBlock; constexpr uint16_t getWidth() const { return tileW; } constexpr uint16_t getHeight() const { return tileH; } @@ -250,9 +250,10 @@ namespace image { class Pixmap { public: using Tile = T; + using Block = typename Tile::Block; Grid _grid; - PixelBlockArray _blocks; + PixelBlockArray _blocks; void resize(const Grid::Coord2& widthHeight) { _grid = Grid(widthHeight, Coord2(Tile::getWidth(), Tile::getHeight())); @@ -260,4 +261,4 @@ namespace image { } }; -} \ No newline at end of file +}