Skip to content

Commit 3bd6160

Browse files
committed
minor error code tweak
1 parent ef75f8a commit 3bd6160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Auxiliary/DirectXTexJPEG.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ namespace
297297
#endif
298298

299299
default:
300-
return E_INVALIDARG;
300+
return HRESULT_E_NOT_SUPPORTED;
301301
}
302302
enc.image_width = static_cast<JDIMENSION>(image.width);
303303
enc.image_height = static_cast<JDIMENSION>(image.height);

0 commit comments

Comments
 (0)