Re: [PATCH 3/6] d3dx9_36: Implement D3DXGetImageInfoFromFileInMemory using WindowsCodecs (based on work from Tony Wasserka) (try 2)
5 Apr
2010
5 Apr
'10
8 p.m.
+ hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED); + if (FAILED(hr)) + return E_FAIL; You should continue in this case, but don't call CoUninitialize at the end. On Mon, Apr 5, 2010 at 1:28 PM, Christian Costa <titan.costa(a)wanadoo.fr> wrote:
-- Check return of CoInitializeEx and some WIC calls. Return an error for unsupported file and pixel formats. ---
dlls/d3dx9_36/Makefile.in | 2 - dlls/d3dx9_36/surface.c | 113 ++++++++++++++++++++++++++++++++++++++++- dlls/d3dx9_36/tests/texture.c | 40 ++++++--------- 3 files changed, 127 insertions(+), 28 deletions(-)
5820
Age (days ago)
5820
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vincent Povirk