d3dx9: Turn D3DXCreateEffectEx FIXME into a TRACE, improve it a bit.

This commit is contained in:
Matteo Bruni 2014-03-03 17:48:11 +01:00 committed by Alexandre Julliard
parent 858bb223b4
commit c6fefc20a6
1 changed files with 7 additions and 2 deletions

View File

@ -5294,8 +5294,10 @@ HRESULT WINAPI D3DXCreateEffectEx(struct IDirect3DDevice9 *device, const void *s
struct ID3DXEffectImpl *object;
HRESULT hr;
FIXME("(%p, %p, %u, %p, %p, %p, %#x, %p, %p, %p): semi-stub\n", device, srcdata, srcdatalen, defines, include,
skip_constants, flags, pool, effect, compilation_errors);
TRACE("device %p, srcdata %p, srcdatalen %u, defines %p, include %p,"
" skip_constants %p, flags %#x, pool %p, effect %p, compilation_errors %p.\n",
device, srcdata, srcdatalen, defines, include,
skip_constants, flags, pool, effect, compilation_errors);
if (compilation_errors)
*compilation_errors = NULL;
@ -5310,6 +5312,9 @@ HRESULT WINAPI D3DXCreateEffectEx(struct IDirect3DDevice9 *device, const void *s
if (!effect)
return D3D_OK;
if (skip_constants)
FIXME("skip_constants is not NULL, not supported yet.\n");
object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object));
if (!object)
return E_OUTOFMEMORY;