Commit 7dec20d8 authored by Tony Wasserka's avatar Tony Wasserka Committed by Alexandre Julliard

d3dx9: Implement D3DXGetDriverLevel.

parent b1dab9e5
......@@ -149,7 +149,7 @@
@ stdcall D3DXGeneratePMesh(ptr ptr ptr ptr long long ptr) d3dx8.D3DXGeneratePMesh
@ stub D3DXGetDeclLength
@ stub D3DXGetDeclVertexSize
@ stub D3DXGetDriverLevel
@ stdcall D3DXGetDriverLevel(ptr)
@ stdcall D3DXGetFVFVertexSize(long) d3dx8.D3DXGetFVFVertexSize
@ stdcall D3DXGetImageInfoFromFileA(ptr ptr) d3dx8.D3DXGetImageInfoFromFileA
@ stdcall D3DXGetImageInfoFromFileInMemory(ptr long ptr) d3dx8.D3DXGetImageInfoFromFileInMemory
......
......@@ -2,6 +2,7 @@
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
* Copyright (C) 2008 Tony Wasserka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -51,3 +52,12 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXGetDriverLevel.
* Returns always 900 (DX 9) for us
*/
UINT WINAPI D3DXGetDriverLevel(LPDIRECT3DDEVICE9 device)
{
return 900;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment