Added patch to fix a typo in a wined3d TRACE message.

This commit is contained in:
Sebastian Lackner 2016-04-16 19:15:43 +02:00
parent b57004bc38
commit 181ad80116
2 changed files with 41 additions and 0 deletions

View File

@ -359,6 +359,7 @@ patch_enable_all ()
enable_wined3d_Accounting="$1"
enable_wined3d_CSMT_Helper="$1"
enable_wined3d_DXTn="$1"
enable_wined3d_Fix_Typos="$1"
enable_wined3d_Limit_Vram="$1"
enable_wined3d_Revert_PixelFormat="$1"
enable_wined3d_Silence_FIXMEs="$1"
@ -1249,6 +1250,9 @@ patch_enable ()
wined3d-DXTn)
enable_wined3d_DXTn="$2"
;;
wined3d-Fix_Typos)
enable_wined3d_Fix_Typos="$2"
;;
wined3d-Limit_Vram)
enable_wined3d_Limit_Vram="$2"
;;
@ -7183,6 +7187,18 @@ if test "$enable_wined3d_CSMT_Helper" -eq 1; then
) >> "$patchlist"
fi
# Patchset wined3d-Fix_Typos
# |
# | Modified files:
# | * dlls/wined3d/directx.c
# |
if test "$enable_wined3d_Fix_Typos" -eq 1; then
patch_apply wined3d-Fix_Typos/0001-wined3d-Fix-typo-in-TRACE-message.patch
(
echo '+ { "Sergey Isakov", "wined3d: Fix typo in TRACE message.", 1 },';
) >> "$patchlist"
fi
# Patchset wined3d-Limit_Vram
# |
# | Modified files:

View File

@ -0,0 +1,25 @@
From 03e1e23b99c29bb63cdb5808ff07374d38003efa Mon Sep 17 00:00:00 2001
From: Sergey Isakov <sergey.slice@gmail.com>
Date: Sat, 16 Apr 2016 19:14:43 +0200
Subject: wined3d: Fix typo in TRACE message.
---
dlls/wined3d/directx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 8358930..dfa1cdd 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1444,7 +1444,7 @@ static const struct gpu_description *query_gpu_description(const struct wined3d_
if (wined3d_settings.pci_device_id != PCI_DEVICE_NONE)
{
device = wined3d_settings.pci_device_id;
- TRACE("Overriding device PCI ID with 0x%04x.\n", vendor);
+ TRACE("Overriding device PCI ID with 0x%04x.\n", device);
}
if (wined3d_settings.emulated_textureram)
--
2.7.1