Author: akhaldi
Date: Sun Jan 19 10:45:19 2014
New Revision: 61703
URL:
http://svn.reactos.org/svn/reactos?rev=61703&view=rev
Log:
[D3D8]
* Improve the GUIDs situation.
CORE-7716
Added:
trunk/reactos/dll/directx/wine/d3d8/guid.c (with props)
Modified:
trunk/reactos/dll/directx/wine/d3d8/CMakeLists.txt
trunk/reactos/dll/directx/wine/d3d8/d3d8_private.h
Modified: trunk/reactos/dll/directx/wine/d3d8/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/d3d8/CMak…
==============================================================================
--- trunk/reactos/dll/directx/wine/d3d8/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/wine/d3d8/CMakeLists.txt [iso-8859-1] Sun Jan 19 10:45:19
2014
@@ -18,12 +18,13 @@
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)
Modified: trunk/reactos/dll/directx/wine/d3d8/d3d8_private.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/d3d8/d3d8…
==============================================================================
--- trunk/reactos/dll/directx/wine/d3d8/d3d8_private.h [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/wine/d3d8/d3d8_private.h [iso-8859-1] Sun Jan 19 10:45:19
2014
@@ -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>
Added: trunk/reactos/dll/directx/wine/d3d8/guid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/d3d8/guid…
==============================================================================
--- trunk/reactos/dll/directx/wine/d3d8/guid.c (added)
+++ trunk/reactos/dll/directx/wine/d3d8/guid.c [iso-8859-1] Sun Jan 19 10:45:19 2014
@@ -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 */
Propchange: trunk/reactos/dll/directx/wine/d3d8/guid.c
------------------------------------------------------------------------------
svn:eol-style = native