Removed warning, declared some parameter documentation
This commit is contained in:
1
test/external/gli/core/generate_mipmaps.inl
vendored
1
test/external/gli/core/generate_mipmaps.inl
vendored
@@ -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);
|
||||
|
||||
4
test/external/gli/core/image2d.inl
vendored
4
test/external/gli/core/image2d.inl
vendored
@@ -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
|
||||
(
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user