We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4aad30 commit 3ac7c85Copy full SHA for 3ac7c85
Auxiliary/DirectXTexPNG.cpp
@@ -131,7 +131,7 @@ namespace
131
if (interlacing != PNG_INTERLACE_NONE)
132
{
133
throw std::invalid_argument{ "interlacing not supported" };
134
- }
+ }
135
// color handling
136
png_byte color_type = png_get_color_type(st, info);
137
if (color_type == PNG_COLOR_TYPE_GRAY)
@@ -191,7 +191,7 @@ namespace
191
/// @todo More correct DXGI_FORMAT mapping
192
void GetHeader(TexMetadata& metadata) noexcept(false)
193
194
- metadata = {};
+ metadata = {};
195
metadata.width = png_get_image_width(st, info);
196
metadata.height = png_get_image_height(st, info);
197
metadata.arraySize = 1;
0 commit comments