Removed warning, declared some parameter documentation

This commit is contained in:
Christophe Riccio
2011-09-09 12:26:32 +01:00
parent 10b7640186
commit f035982424
4 changed files with 78 additions and 19 deletions

View File

@@ -165,9 +165,7 @@ namespace gli
Data((glm::compMul(Dimensions) * detail::sizeBitPerPixel(Format)) >> 3),
Dimensions(Dimensions),
Format(Format)
{
std::size_t Size = (glm::compMul(Dimensions) * detail::sizeBitPerPixel(Format)) >> 3;
}
{}
inline image2D::image2D
(