2016-02-12 19:52:20 -08:00
|
|
|
From b0a0388503a1576fb9b1b91ca764251b30f7dd3e 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
|
2016-02-12 19:52:20 -08:00
|
|
|
index bbd2fb5..2fd0c0e 100644
|
2014-05-26 18:03:03 -07:00
|
|
|
--- a/dlls/wined3d/wined3d.spec
|
|
|
|
+++ b/dlls/wined3d/wined3d.spec
|
2016-02-09 17:20:14 -08:00
|
|
|
@@ -220,6 +220,8 @@
|
2014-11-06 02:04:55 -08:00
|
|
|
@ cdecl wined3d_stateblock_decref(ptr)
|
|
|
|
@ cdecl wined3d_stateblock_incref(ptr)
|
|
|
|
|
2014-05-26 18:03:03 -07:00
|
|
|
+@ cdecl wined3d_strictdrawing_set(long)
|
2014-11-06 02:04:55 -08:00
|
|
|
+
|
2016-02-09 17:20:14 -08:00
|
|
|
@ cdecl wined3d_swapchain_create(ptr ptr ptr ptr ptr)
|
2016-02-12 19:52:20 -08:00
|
|
|
@ cdecl wined3d_swapchain_decref(ptr)
|
|
|
|
@ cdecl wined3d_swapchain_get_back_buffer(ptr long)
|
2014-05-26 18:03:03 -07:00
|
|
|
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
|
2016-02-09 17:22:22 -08:00
|
|
|
index 0543d97..6a62697 100644
|
2014-05-26 18:03:03 -07:00
|
|
|
--- a/dlls/wined3d/wined3d_main.c
|
|
|
|
+++ b/dlls/wined3d/wined3d_main.c
|
2016-01-29 13:52:04 -08:00
|
|
|
@@ -515,6 +515,11 @@ void wined3d_unregister_window(HWND window)
|
2014-05-26 18:03:03 -07:00
|
|
|
wined3d_wndproc_mutex_unlock();
|
|
|
|
}
|
|
|
|
|
2016-02-09 17:22:22 -08:00
|
|
|
+void CDECL wined3d_strictdrawing_set(int value)
|
2014-05-26 18:03:03 -07:00
|
|
|
+{
|
|
|
|
+ wined3d_settings.strict_draw_ordering = value;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
/* At process attach */
|
|
|
|
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
|
|
|
|
{
|
|
|
|
--
|
2016-02-12 19:52:20 -08:00
|
|
|
2.7.1
|
2014-05-26 18:03:03 -07:00
|
|
|
|