Re: d3dx8: Implementation of D3DXAssembleShaderFromFileA using D3DXAssembleShaderFromFileW

2007-11-26 Thread Stefan Dösinger
Am Montag, 26. November 2007 11:37:28 schrieb [EMAIL PROTECTED]: > --- > dlls/d3dx8/d3dx8_main.c | 22 -- > include/d3dx8core.h |4 ++-- > 2 files changed, 18 insertions(+), 8 deletions(-) Please watch out with indentions. You are mixing tabs and spaces in D3DXAssemb

Re: d3dx8: Implementation of D3DXAssembleShaderFromFileA using D3DXAssembleShaderFromFileW

2007-11-26 Thread Dmitry Timoshkov
<[EMAIL PROTECTED]> wrote: > + LPWSTR pSrcFileW = NULL; > + DWORD len; > + HRESULT ret; > + if (pSrcFile) > + { > +len = MultiByteToWideChar( CP_ACP, 0, pSrcFile, -1, NULL, 0 ); > +pSrcFileW = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) ); > +MultiByteToWide