mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 10:46:58 +00:00
[D3D8]
* Improve the GUIDs situation. CORE-7716 svn path=/trunk/; revision=61703
This commit is contained in:
parent
eba2e22634
commit
64f2664bcb
3 changed files with 21 additions and 5 deletions
|
@ -18,12 +18,13 @@ list(APPEND SOURCE
|
|||
texture.c
|
||||
vertexdeclaration.c
|
||||
volume.c
|
||||
guid.c
|
||||
version.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
|
||||
|
||||
add_library(d3d8 SHARED ${SOURCE})
|
||||
set_module_type(d3d8 win32dll UNICODE)
|
||||
target_link_libraries(d3d8 wine)
|
||||
target_link_libraries(d3d8 uuid wine)
|
||||
add_importlibs(d3d8 wined3d msvcrt kernel32 ntdll)
|
||||
add_pch(d3d8 d3d8_private.h)
|
||||
add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -25,16 +25,17 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#define NONAMELESSUNION
|
||||
#define NONAMELESSSTRUCT
|
||||
#define COBJMACROS
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <wingdi.h>
|
||||
|
@ -42,7 +43,6 @@
|
|||
#include <wine/debug.h>
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(d3d8);
|
||||
|
||||
#include <initguid.h>
|
||||
#include <d3d8.h>
|
||||
#include <wine/wined3d.h>
|
||||
|
||||
|
|
15
reactos/dll/directx/wine/d3d8/guid.c
Normal file
15
reactos/dll/directx/wine/d3d8/guid.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <wingdi.h>
|
||||
#include <initguid.h>
|
||||
#include <d3d8.h>
|
||||
|
||||
/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
|
Loading…
Reference in a new issue