d3dx9: Implement D3DXGetDriverLevel.

This commit is contained in:
Tony Wasserka 2008-02-05 17:48:45 +01:00 committed by Alexandre Julliard
parent b1dab9e5a5
commit 7dec20d84a
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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;
}