d3d8: An invalid shader version isn't an internal error.

This commit is contained in:
Henri Verbeet 2010-09-05 23:38:51 +02:00 committed by Alexandre Julliard
parent 8fbf23f0cc
commit 95098f1b2a
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ HRESULT WINAPI ValidateVertexShader(DWORD* vertexshader, DWORD* reserved1, DWORD
ret=S_OK;
break;
default:
ERR("vertexshader version mismatch\n");
WARN("Invalid shader version token %#x.\n", *vertexshader);
ret=E_FAIL;
}
@ -136,7 +136,7 @@ HRESULT WINAPI ValidatePixelShader(DWORD* pixelshader, DWORD* reserved1, BOOL bo
ret=S_OK;
break;
default:
ERR("pixelshader version mismatch\n");
WARN("Invalid shader version token %#x.\n", *pixelshader);
ret=E_FAIL;
}
return ret;