d3dx9: Implement D3DXGetDriverLevel.
This commit is contained in:
parent
b1dab9e5a5
commit
7dec20d84a
|
@ -149,7 +149,7 @@
|
||||||
@ stdcall D3DXGeneratePMesh(ptr ptr ptr ptr long long ptr) d3dx8.D3DXGeneratePMesh
|
@ stdcall D3DXGeneratePMesh(ptr ptr ptr ptr long long ptr) d3dx8.D3DXGeneratePMesh
|
||||||
@ stub D3DXGetDeclLength
|
@ stub D3DXGetDeclLength
|
||||||
@ stub D3DXGetDeclVertexSize
|
@ stub D3DXGetDeclVertexSize
|
||||||
@ stub D3DXGetDriverLevel
|
@ stdcall D3DXGetDriverLevel(ptr)
|
||||||
@ stdcall D3DXGetFVFVertexSize(long) d3dx8.D3DXGetFVFVertexSize
|
@ stdcall D3DXGetFVFVertexSize(long) d3dx8.D3DXGetFVFVertexSize
|
||||||
@ stdcall D3DXGetImageInfoFromFileA(ptr ptr) d3dx8.D3DXGetImageInfoFromFileA
|
@ stdcall D3DXGetImageInfoFromFileA(ptr ptr) d3dx8.D3DXGetImageInfoFromFileA
|
||||||
@ stdcall D3DXGetImageInfoFromFileInMemory(ptr long ptr) d3dx8.D3DXGetImageInfoFromFileInMemory
|
@ stdcall D3DXGetImageInfoFromFileInMemory(ptr long ptr) d3dx8.D3DXGetImageInfoFromFileInMemory
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
* Direct3D X 9 main file
|
* Direct3D X 9 main file
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007 David Adam
|
* Copyright (C) 2007 David Adam
|
||||||
|
* Copyright (C) 2008 Tony Wasserka
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* 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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* D3DXGetDriverLevel.
|
||||||
|
* Returns always 900 (DX 9) for us
|
||||||
|
*/
|
||||||
|
UINT WINAPI D3DXGetDriverLevel(LPDIRECT3DDEVICE9 device)
|
||||||
|
{
|
||||||
|
return 900;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue