d3dx9_36: Provide an empty error message in the stub D3DXCompileShader.
This commit is contained in:
parent
fd66d61861
commit
8068d4ee22
|
@ -661,6 +661,8 @@ HRESULT WINAPI D3DXCompileShader(LPCSTR pSrcData,
|
||||||
TRACE("Shader source:\n");
|
TRACE("Shader source:\n");
|
||||||
TRACE("%s\n", debugstr_an(pSrcData, srcDataLen));
|
TRACE("%s\n", debugstr_an(pSrcData, srcDataLen));
|
||||||
|
|
||||||
|
if (ppErrorMsgs)
|
||||||
|
D3DXCreateBuffer(1, ppErrorMsgs); /* zero fill used as string end */
|
||||||
return D3DERR_INVALIDCALL;
|
return D3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue