| 242 | } |
| 243 | |
| 244 | TexposHandle Textures::createTile(std::vector<uint32_t>& pixels, int tile_px_w, int tile_px_h, |
| 245 | bool reserved) { |
| 246 | if (!enabler) |
| 247 | return 0; |
| 248 | |
| 249 | auto texture = create_texture(pixels, tile_px_w, tile_px_h); |
| 250 | auto handle = Textures::loadTexture(texture, reserved); |
| 251 | return handle; |
| 252 | } |
| 253 | |
| 254 | std::vector<TexposHandle> Textures::createTileset(std::vector<uint32_t>& pixels, int texture_px_w, |
| 255 | int texture_px_h, int tile_px_w, int tile_px_h, |
nothing calls this directly
no test coverage detected