From 46663b2c660db111ba9a208929cec841caa9308a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Tue, 27 May 2014 02:53:05 +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 f1a45dd..7ee0914 100644 --- a/dlls/wined3d/wined3d.spec +++ b/dlls/wined3d/wined3d.spec @@ -277,3 +277,5 @@ @ cdecl wined3d_volume_preload(ptr) @ cdecl wined3d_volume_set_priority(ptr long) @ 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 index e2a7f3f..c160ae0 100644 --- a/dlls/wined3d/wined3d_main.c +++ b/dlls/wined3d/wined3d_main.c @@ -509,6 +509,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) { -- 1.8.3.2