2014-07-20 13:36:08 -07:00
|
|
|
From 343eb8dc82b72e641dc239a339f2419bb7f936c9 Mon Sep 17 00:00:00 2001
|
2014-05-26 18:03:03 -07:00
|
|
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
2014-07-20 13:36:08 -07:00
|
|
|
Date: Sun, 20 Jul 2014 22:22:14 +0200
|
2014-05-26 18:03:03 -07:00
|
|
|
Subject: wined3d: allow changing strict drawing through an exported function
|
|
|
|
|
|
|
|
---
|
|
|
|
dlls/wined3d/wined3d.spec | 2 ++
|
|
|
|
dlls/wined3d/wined3d_main.c | 5 +++++
|
|
|
|
2 files changed, 7 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/dlls/wined3d/wined3d.spec b/dlls/wined3d/wined3d.spec
|
2014-07-20 13:36:08 -07:00
|
|
|
index a53c74b..7c9ebbd 100644
|
2014-05-26 18:03:03 -07:00
|
|
|
--- a/dlls/wined3d/wined3d.spec
|
|
|
|
+++ b/dlls/wined3d/wined3d.spec
|
2014-07-20 13:36:08 -07:00
|
|
|
@@ -271,3 +271,5 @@
|
|
|
|
@ cdecl wined3d_volume_map(ptr ptr ptr long)
|
2014-05-26 18:03:03 -07:00
|
|
|
@ cdecl wined3d_volume_preload(ptr)
|
|
|
|
@ cdecl wined3d_volume_unmap(ptr)
|
|
|
|
+
|
|
|
|
+@ cdecl wined3d_strictdrawing_set(long)
|
|
|
|
\ No newline at end of file
|
|
|
|
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
|
2014-07-20 13:36:08 -07:00
|
|
|
index 7ab2448..8b4134d 100644
|
2014-05-26 18:03:03 -07:00
|
|
|
--- a/dlls/wined3d/wined3d_main.c
|
|
|
|
+++ b/dlls/wined3d/wined3d_main.c
|
2014-07-20 13:36:08 -07:00
|
|
|
@@ -505,6 +505,11 @@ void wined3d_unregister_window(HWND window)
|
2014-05-26 18:03:03 -07:00
|
|
|
wined3d_wndproc_mutex_unlock();
|
|
|
|
}
|
|
|
|
|
|
|
|
+void wined3d_strictdrawing_set(int value)
|
|
|
|
+{
|
|
|
|
+ wined3d_settings.strict_draw_ordering = value;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
/* At process attach */
|
|
|
|
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
|
|
|
|
{
|
|
|
|
--
|
|
|
|
1.8.3.2
|
|
|
|
|