From 60723994ae4b378666fee95742ed068051a1ba67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 31 Dec 2015 20:23:15 -0800 Subject: [PATCH] Cleanup. --- src/image.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/image.cpp b/src/image.cpp index 2e189ede7..5417e36bc 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -241,7 +241,6 @@ namespace bgfx uint8_t imageGetNumMips(TextureFormat::Enum _format, uint16_t _width, uint16_t _height, uint16_t _depth) { const ImageBlockInfo& blockInfo = getBlockInfo(_format); - const uint8_t bpp = blockInfo.bitsPerPixel; const uint16_t blockWidth = blockInfo.blockWidth; const uint16_t blockHeight = blockInfo.blockHeight; const uint16_t minBlockX = blockInfo.minBlockX;