Remove: ZOOM_LVL_COUNT
This is the only enumeration with a COUNT and END. The logic of the COUNT implied that BEGIN could be non-zero, but all but two uses of zoom level assume that BEGIN is zero, making the separate count only confusing.
This commit is contained in:
		| @@ -108,7 +108,7 @@ public: | ||||
| 	/* SpriteEncoder */ | ||||
|  | ||||
| 	bool Is32BppSupported() override { return true; } | ||||
| 	uint GetSpriteAlignment() override { return 1u << (ZOOM_LVL_COUNT - 1); } | ||||
| 	uint GetSpriteAlignment() override { return 1u << (ZOOM_LVL_END - 1); } | ||||
| 	Sprite *Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator) override; | ||||
| }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 rubidium42
					rubidium42