Navigation Menu

Skip to content

Commit

Permalink
Cleanup unused Surface format converter helper
Browse files Browse the repository at this point in the history
  • Loading branch information
rainemak committed Dec 19, 2016
1 parent e76df9c commit 9fee599
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions embedding/embedlite/embedshared/EmbedLiteWindowBaseParent.cpp
Expand Up @@ -22,21 +22,6 @@ namespace {

static std::map<uint32_t, EmbedLiteWindowBaseParent*> sWindowMap;

static inline gfx::SurfaceFormat _depth_to_gfxformat(int depth)
{
switch (depth) {
case 32:
return SurfaceFormat::R8G8B8A8;
case 24:
return SurfaceFormat::R8G8B8X8;
case 16:
return SurfaceFormat::R5G6B5;
default:
return SurfaceFormat::UNKNOWN;
}
}


} // namespace

EmbedLiteWindowBaseParent::EmbedLiteWindowBaseParent(const uint16_t& width, const uint16_t& height, const uint32_t& id)
Expand Down

0 comments on commit 9fee599

Please sign in to comment.