| 283 | } |
| 284 | |
| 285 | AtlasConfig::AtlasConfig(int maxTextureSize) { |
| 286 | RGBADimensions.set(std::min(MaxTextureSize, maxTextureSize), |
| 287 | std::min(MaxTextureSize, maxTextureSize)); |
| 288 | } |
| 289 | |
| 290 | ISize AtlasConfig::atlasDimensions(MaskFormat maskFormat) const { |
| 291 | if (maskFormat == MaskFormat::A8) { |