You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 944190bad442f19fba5e0073d284469bd2329652.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From a408faad22694f7dd6b9e24b3f47ac60fc6f4c4f Mon Sep 17 00:00:00 2001
|
||||
From 4d175fa573da8103e76f59f93b528dc9d37c146d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Wed, 3 Jun 2015 22:57:21 +0200
|
||||
Subject: winex11.drv: Allow changing the opengl pixel format on the desktop
|
||||
@@ -16,11 +16,11 @@ it seems to be a suitable workaround as it fixes multiple applications.
|
||||
2 files changed, 20 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
|
||||
index 5bf7121..0c2df95 100644
|
||||
index e6edb00..5a75f3a 100644
|
||||
--- a/dlls/d3d9/tests/device.c
|
||||
+++ b/dlls/d3d9/tests/device.c
|
||||
@@ -10769,6 +10769,21 @@ static void test_check_device_format(void)
|
||||
IDirect3D9_Release(d3d);
|
||||
@@ -11049,6 +11049,21 @@ done:
|
||||
DestroyWindow(window);
|
||||
}
|
||||
|
||||
+static void test_desktop_window(void)
|
||||
@@ -41,19 +41,19 @@ index 5bf7121..0c2df95 100644
|
||||
START_TEST(device)
|
||||
{
|
||||
WNDCLASSA wc = {0};
|
||||
@@ -10883,6 +10898,7 @@ START_TEST(device)
|
||||
test_resource_priority();
|
||||
@@ -11164,6 +11179,7 @@ START_TEST(device)
|
||||
test_swapchain_parameters();
|
||||
test_check_device_format();
|
||||
test_miptree_layout();
|
||||
+ test_desktop_window();
|
||||
|
||||
UnregisterClassA("d3d9_test_wc", GetModuleHandleA(NULL));
|
||||
}
|
||||
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
|
||||
index 3d0bd24..845b022 100644
|
||||
index ab29ce4..ce87d14 100644
|
||||
--- a/dlls/winex11.drv/opengl.c
|
||||
+++ b/dlls/winex11.drv/opengl.c
|
||||
@@ -1434,12 +1434,15 @@ static BOOL set_pixel_format(HDC hdc, int format, BOOL allow_change)
|
||||
@@ -1454,12 +1454,15 @@ static BOOL set_pixel_format(HDC hdc, int format, BOOL allow_change)
|
||||
|
||||
TRACE("(%p,%d)\n", hdc, format);
|
||||
|
||||
@@ -71,5 +71,5 @@ index 3d0bd24..845b022 100644
|
||||
if (!fmt)
|
||||
{
|
||||
--
|
||||
2.7.0
|
||||
2.7.1
|
||||
|
||||
|
Reference in New Issue
Block a user