mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
From fa15751fb4c91885360b81474abf16b5a4b93a99 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
|
Date: Sun, 20 Jul 2014 22:22:14 +0200
|
|
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
|
|
index d31cf9a..dd2def2 100644
|
|
--- a/dlls/wined3d/wined3d.spec
|
|
+++ b/dlls/wined3d/wined3d.spec
|
|
@@ -222,6 +222,8 @@
|
|
@ cdecl wined3d_stateblock_decref(ptr)
|
|
@ cdecl wined3d_stateblock_incref(ptr)
|
|
|
|
+@ cdecl wined3d_strictdrawing_set(long)
|
|
+
|
|
@ cdecl wined3d_surface_get_parent(ptr)
|
|
@ cdecl wined3d_surface_get_pitch(ptr)
|
|
|
|
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
|
|
index 0543d97..78cc3a2 100644
|
|
--- a/dlls/wined3d/wined3d_main.c
|
|
+++ b/dlls/wined3d/wined3d_main.c
|
|
@@ -515,6 +515,11 @@ void wined3d_unregister_window(HWND window)
|
|
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)
|
|
{
|
|
--
|
|
2.7.0
|
|
|