| 2230 | } |
| 2231 | |
| 2232 | void Renderable::Create(uint32_t width, uint32_t height, bool filter, bool clamp) |
| 2233 | { |
| 2234 | pSprite = std::make_unique<olc::Sprite>(width, height); |
| 2235 | pDecal = std::make_unique<olc::Decal>(pSprite.get(), filter, clamp); |
| 2236 | } |
| 2237 | |
| 2238 | olc::rcode Renderable::Load(const std::string& sFile, ResourcePack* pack, bool filter, bool clamp) |
| 2239 | { |
no outgoing calls