d3dx9_30: Add stub for D3DXCpuOptimizations.
This commit is contained in:
parent
42e5a32cc3
commit
b48e74749d
2 changed files with 18 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
@ stdcall D3DXConcatenateMeshes(ptr long long ptr ptr ptr ptr ptr) d3dx9_36.D3DXConcatenateMeshes
|
||||
@ stdcall D3DXConvertMeshSubsetToSingleStrip(ptr long long ptr ptr) d3dx9_36.D3DXConvertMeshSubsetToSingleStrip
|
||||
@ stdcall D3DXConvertMeshSubsetToStrips(ptr long long ptr ptr ptr ptr) d3dx9_36.D3DXConvertMeshSubsetToStrips
|
||||
@ stub D3DXCpuOptimizations(long)
|
||||
@ stdcall D3DXCpuOptimizations(long)
|
||||
@ stdcall D3DXCreateAnimationController(long long long long ptr) d3dx9_36.D3DXCreateAnimationController
|
||||
@ stdcall D3DXCreateBox(ptr float float float ptr ptr) d3dx9_36.D3DXCreateBox
|
||||
@ stdcall D3DXCreateBuffer(long ptr) d3dx9_36.D3DXCreateBuffer
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
#include "winuser.h"
|
||||
|
||||
#include "d3dx9.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
|
||||
|
||||
/***********************************************************************
|
||||
* DllMain.
|
||||
|
@ -58,3 +61,17 @@ BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
|
|||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
typedef enum _D3DX_CPU_OPTIMIZATION
|
||||
{
|
||||
D3DX_NOT_OPTIMIZED = 0,
|
||||
D3DX_3DNOW_OPTIMIZED = 1,
|
||||
D3DX_SSE2_OPTIMIZED = 2,
|
||||
D3DX_SSE_OPTIMIZED = 3
|
||||
} D3DX_CPU_OPTIMIZATION;
|
||||
|
||||
D3DX_CPU_OPTIMIZATION WINAPI D3DXCpuOptimizations(BOOL enable)
|
||||
{
|
||||
FIXME("%i - stub\n", enable);
|
||||
return D3DX_NOT_OPTIMIZED;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue