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

@@ -32,7 +32,6 @@ namespace gli
texture2D::dimensions_type LevelDimensions = Result[Level + 0].dimensions() >> texture2D::dimensions_type(1);
LevelDimensions = glm::max(LevelDimensions, texture2D::dimensions_type(1));
texture2D::size_type ValueSize = Result[Level + 0].value_size();
texture2D::size_type Components = Result[Level + 0].components();
texture2D::data_type DataDst(glm::compMul(LevelDimensions) * Components);

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
(

View File

@@ -168,12 +168,12 @@ int test_half_ctor_vec2()
int test_half_ctor_vec3()
{
return 0;
}
int test_half_ctor_vec4()
{
return 0;
}
int main()