[PATCH 2/7] wined3d: Change black-/whitelist to more neutral words

André Hentschel nerv at dawncrow.de
Tue Jun 16 08:35:05 CDT 2020


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 dlls/wined3d/adapter_gl.c | 2 +-
 dlls/wined3d/directx.c    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/wined3d/adapter_gl.c b/dlls/wined3d/adapter_gl.c
index 0c7f953702c..c46acfe97ff 100644
--- a/dlls/wined3d/adapter_gl.c
+++ b/dlls/wined3d/adapter_gl.c
@@ -964,7 +964,7 @@ static void quirk_texcoord_w(struct wined3d_gl_info *gl_info)
      * application.
      *
      * ATI Radeon HD 2xxx cards on macOS have the issue. Instead of checking
-     * for the buggy cards, blacklist all Radeon cards on macOS and whitelist
+     * for the buggy cards, blocklist all Radeon cards on macOS and allowlist
      * the good ones. That way we're prepared for the future. If this
      * workaround is activated on cards that do not need it, it won't break
      * things, just affect performance negatively. */
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index efae3444eec..ca4f8a02127 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1506,11 +1506,11 @@ static BOOL wined3d_check_depth_stencil_format(const struct wined3d_adapter *ada
     if (!ds_format->depth_size && !ds_format->stencil_size)
         return FALSE;
 
-    /* Blacklist formats not supported on Windows */
+    /* Blocklist formats not supported on Windows */
     if (ds_format->id == WINED3DFMT_S1_UINT_D15_UNORM /* Breaks the shadowvol2 dx7 sdk sample */
             || ds_format->id == WINED3DFMT_S4X4_UINT_D24_UNORM)
     {
-        TRACE("Format %s is blacklisted.\n", debug_d3dformat(ds_format->id));
+        TRACE("Format %s is blocklisted.\n", debug_d3dformat(ds_format->id));
         return FALSE;
     }
 
-- 
2.17.1




More information about the wine-devel mailing list