2016-02-03 14:51:18 +01:00
|
|
|
From 1718cf1538f3ba9d914df29ad811f653b86129d5 Mon Sep 17 00:00:00 2001
|
2014-05-27 03:03:03 +02:00
|
|
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
2014-07-20 22:36:08 +02:00
|
|
|
Date: Sun, 20 Jul 2014 22:22:14 +0200
|
2014-05-27 03:03:03 +02: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-03 14:51:18 +01:00
|
|
|
index c8a172f..6d656c5 100644
|
2014-05-27 03:03:03 +02:00
|
|
|
--- a/dlls/wined3d/wined3d.spec
|
|
|
|
+++ b/dlls/wined3d/wined3d.spec
|
2016-01-29 22:52:04 +01:00
|
|
|
@@ -222,6 +222,8 @@
|
2014-11-06 11:04:55 +01:00
|
|
|
@ cdecl wined3d_stateblock_decref(ptr)
|
|
|
|
@ cdecl wined3d_stateblock_incref(ptr)
|
|
|
|
|
2014-05-27 03:03:03 +02:00
|
|
|
+@ cdecl wined3d_strictdrawing_set(long)
|
2014-11-06 11:04:55 +01:00
|
|
|
+
|
|
|
|
@ cdecl wined3d_surface_blt(ptr ptr ptr ptr long ptr long)
|
2016-01-29 22:52:04 +01:00
|
|
|
@ cdecl wined3d_surface_get_overlay_position(ptr ptr ptr)
|
2016-02-03 14:51:18 +01:00
|
|
|
@ cdecl wined3d_surface_get_parent(ptr)
|
2014-05-27 03:03:03 +02:00
|
|
|
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
|
2016-01-29 22:52:04 +01:00
|
|
|
index 0543d97..78cc3a2 100644
|
2014-05-27 03:03:03 +02:00
|
|
|
--- a/dlls/wined3d/wined3d_main.c
|
|
|
|
+++ b/dlls/wined3d/wined3d_main.c
|
2016-01-29 22:52:04 +01:00
|
|
|
@@ -515,6 +515,11 @@ void wined3d_unregister_window(HWND window)
|
2014-05-27 03:03:03 +02: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)
|
|
|
|
{
|
|
|
|
--
|
2016-01-29 22:52:04 +01:00
|
|
|
2.7.0
|
2014-05-27 03:03:03 +02:00
|
|
|
|