From b4a0d47809a117a8a52795d47ede8018009e1a6e Mon Sep 17 00:00:00 2001
From: Peter Beutner
Date: Tue, 18 Dec 2007 10:44:18 +0100
Subject: [PATCH] d3d9: Add stub for Direct3DShaderValidatorCreate9().
---
dlls/d3d9/d3d9.spec | 1 +
dlls/d3d9/d3d9_main.c | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/dlls/d3d9/d3d9.spec b/dlls/d3d9/d3d9.spec
index 949f03fb09b..a9232fccef8 100644
--- a/dlls/d3d9/d3d9.spec
+++ b/dlls/d3d9/d3d9.spec
@@ -1,6 +1,7 @@
@ stdcall D3D9GetSWInfo()
@ stdcall DebugSetMute()
@ stdcall Direct3DCreate9(long)
+@ stdcall Direct3DShaderValidatorCreate9()
@ stdcall D3DPERF_BeginEvent(long wstr)
@ stdcall D3DPERF_EndEvent()
@ stdcall D3DPERF_GetStatus()
diff --git a/dlls/d3d9/d3d9_main.c b/dlls/d3d9/d3d9_main.c
index ba4da662aa4..38f1c8cfc16 100644
--- a/dlls/d3d9/d3d9_main.c
+++ b/dlls/d3d9/d3d9_main.c
@@ -61,6 +61,18 @@ IDirect3D9* WINAPI Direct3DCreate9(UINT SDKVersion) {
return (IDirect3D9*) object;
}
+/*******************************************************************
+ * Direct3DShaderValidatorCreate9 (D3D9.@)
+ *
+ * No documentation available for this function.
+ * SDK only says it is internal and shouldn't be used.
+ */
+void* WINAPI Direct3DShaderValidatorCreate9(void)
+{
+ FIXME("stub\n");
+ return NULL;
+}
+
/* At process attach */
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
{