Skip to content

Commit 3ac7c85

Browse files
authored
Update DirectXTexPNG.cpp
Trim whitespace
1 parent e4aad30 commit 3ac7c85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Auxiliary/DirectXTexPNG.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ namespace
131131
if (interlacing != PNG_INTERLACE_NONE)
132132
{
133133
throw std::invalid_argument{ "interlacing not supported" };
134-
}
134+
}
135135
// color handling
136136
png_byte color_type = png_get_color_type(st, info);
137137
if (color_type == PNG_COLOR_TYPE_GRAY)
@@ -191,7 +191,7 @@ namespace
191191
/// @todo More correct DXGI_FORMAT mapping
192192
void GetHeader(TexMetadata& metadata) noexcept(false)
193193
{
194-
metadata = {};
194+
metadata = {};
195195
metadata.width = png_get_image_width(st, info);
196196
metadata.height = png_get_image_height(st, info);
197197
metadata.arraySize = 1;

0 commit comments

Comments
 (0)