All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
ef997f2259
commit
9fe130cd73
@@ -87,11 +87,13 @@ IWICBitmapSource* LoadBitmapFromStream(IStream* ipImageStream)
|
||||
|
||||
// load WIC's PNG decoder
|
||||
IWICBitmapDecoder* ipDecoder = NULL;
|
||||
if (FAILED(CoCreateInstance(CLSID_WICPngDecoder,
|
||||
NULL,
|
||||
CLSCTX_INPROC_SERVER,
|
||||
__uuidof(ipDecoder),
|
||||
reinterpret_cast<void**>(&ipDecoder)))) {
|
||||
if (FAILED(CoCreateInstance(
|
||||
CLSID_WICPngDecoder,
|
||||
NULL,
|
||||
CLSCTX_INPROC_SERVER,
|
||||
__uuidof(ipDecoder),
|
||||
reinterpret_cast<void**>(&ipDecoder)
|
||||
))) {
|
||||
goto Return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user