mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 09:59:44 +00:00
- Fix wined3d compilation with msvc
- Does not link yet svn path=/branches/cmake-bringup/; revision=50740
This commit is contained in:
parent
4c8c01ba70
commit
fb127d4391
|
@ -46,6 +46,7 @@ list(APPEND SOURCE
|
|||
volumetexture.c
|
||||
wined3d_main.c
|
||||
version.rc
|
||||
${REACTOS_BINARY_DIR}/include/reactos/wine/wined3d_i.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/wined3d.def)
|
||||
|
||||
if(ARCH MATCHES amd64)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* Direct3D state management
|
||||
*
|
||||
* Copyright 2002 Lionel Ulmer
|
||||
|
@ -1027,7 +1027,7 @@ void state_fogstartend(DWORD state, IWineD3DStateBlockImpl *stateblock, struct w
|
|||
fogend = tmpvalue.f;
|
||||
/* In GL, fogstart == fogend disables fog, in D3D everything's fogged.*/
|
||||
if(fogstart == fogend) {
|
||||
fogstart = -1.0f / 0.0f;
|
||||
fogstart = -INFINITY;
|
||||
fogend = 0.0f;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* Copyright 2002-2003 The wine-d3d team
|
||||
* Copyright 2002-2003 Jason Edmeades
|
||||
* Copyright 2002-2003 Raphael Junqueira
|
||||
|
@ -3374,7 +3374,7 @@ interface IWineD3DDevice : IUnknown
|
|||
);
|
||||
}
|
||||
|
||||
IWineD3D *WineDirect3DCreate(UINT dxVersion, void *parent);
|
||||
IWineD3DClipper *WineDirect3DCreateClipper(void);
|
||||
void wined3d_mutex_lock(void);
|
||||
void wined3d_mutex_unlock(void);
|
||||
IWineD3D * __stdcall WineDirect3DCreate(UINT dxVersion, void *parent);
|
||||
IWineD3DClipper * __stdcall WineDirect3DCreateClipper(void);
|
||||
void __stdcall wined3d_mutex_lock(void);
|
||||
void __stdcall wined3d_mutex_unlock(void);
|
||||
|
|
Loading…
Reference in a new issue