mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
d3d8: Display FIXME only once in ValidatePixelShader and ValidateVertexShader.
This commit is contained in:
parent
27e9b5bdb4
commit
11a015070c
1 changed files with 12 additions and 2 deletions
|
@ -79,7 +79,12 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
|||
HRESULT WINAPI ValidateVertexShader(DWORD* vertexshader, DWORD* reserved1, DWORD* reserved2, BOOL bool, DWORD* toto)
|
||||
{
|
||||
HRESULT ret;
|
||||
FIXME("(%p %p %p %d %p): stub\n", vertexshader, reserved1, reserved2, bool, toto);
|
||||
static BOOL warned;
|
||||
|
||||
if (TRACE_ON(d3d8) || !warned) {
|
||||
FIXME("(%p %p %p %d %p): stub\n", vertexshader, reserved1, reserved2, bool, toto);
|
||||
warned = TRUE;
|
||||
}
|
||||
|
||||
if (!vertexshader)
|
||||
return E_FAIL;
|
||||
|
@ -109,7 +114,12 @@ HRESULT WINAPI ValidateVertexShader(DWORD* vertexshader, DWORD* reserved1, DWORD
|
|||
HRESULT WINAPI ValidatePixelShader(DWORD* pixelshader, DWORD* reserved1, BOOL bool, DWORD* toto)
|
||||
{
|
||||
HRESULT ret;
|
||||
FIXME("(%p %p %d %p): stub\n", pixelshader, reserved1, bool, toto);
|
||||
static BOOL warned;
|
||||
|
||||
if (TRACE_ON(d3d8) || !warned) {
|
||||
FIXME("(%p %p %d %p): stub\n", pixelshader, reserved1, bool, toto);
|
||||
warned = TRUE;
|
||||
}
|
||||
|
||||
if (!pixelshader)
|
||||
return E_FAIL;
|
||||
|
|
Loading…
Reference in a new issue