Commit b48e7474 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

d3dx9_30: Add stub for D3DXCpuOptimizations.

parent 42e5a32c
......@@ -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;
}
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