https://git.reactos.org/?p=reactos.git;a=commitdiff;h=30042a521150d6bc58a63…
commit 30042a521150d6bc58a63deb3482d75307f913bc
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Mon Sep 21 22:56:57 2020 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Thu Feb 4 16:37:04 2021 +0100
[WINESYNC] d3dx9/tests: Make the pixels array static.
Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 15dd8e2b981ca32cae94409153627b3300bbeab8 by Matteo Bruni
<mbruni(a)codeweavers.com>
---
modules/rostests/winetests/d3dx9_36/surface.c | 2 +-
sdk/tools/winesync/d3dx9.cfg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/rostests/winetests/d3dx9_36/surface.c
b/modules/rostests/winetests/d3dx9_36/surface.c
index a43072ff1f4..4a10492a08f 100644
--- a/modules/rostests/winetests/d3dx9_36/surface.c
+++ b/modules/rostests/winetests/d3dx9_36/surface.c
@@ -1403,7 +1403,7 @@ static void test_D3DXSaveSurfaceToFileInMemory(IDirect3DDevice9
*device)
static void test_D3DXSaveSurfaceToFile(IDirect3DDevice9 *device)
{
- const BYTE pixels[] =
+ static const BYTE pixels[] =
{0xff, 0x00, 0x00, 0x00, 0xff, 0x00,
0x00, 0x00, 0xff, 0x00, 0x00, 0xff,};
DWORD pitch = sizeof(pixels) / 2;
diff --git a/sdk/tools/winesync/d3dx9.cfg b/sdk/tools/winesync/d3dx9.cfg
index fcefba28744..585a4be6be8 100644
--- a/sdk/tools/winesync/d3dx9.cfg
+++ b/sdk/tools/winesync/d3dx9.cfg
@@ -15,4 +15,4 @@ files: {include/d3dx9.h: sdk/include/dxsdk/d3dx9.h, include/d3dx9anim.h:
sdk/inc
include/d3dx9mesh.h: sdk/include/dxsdk/d3dx9mesh.h, include/d3dx9of.h:
sdk/include/dxsdk/d3dx9of.h,
include/d3dx9shader.h: sdk/include/dxsdk/d3dx9shader.h, include/d3dx9shape.h:
sdk/include/dxsdk/d3dx9shape.h,
include/d3dx9tex.h: sdk/include/dxsdk/d3dx9tex.h, include/d3dx9xof.h:
sdk/include/dxsdk/d3dx9xof.h}
-tags: {wine: eadc7b3128afdf59891c6f9a1c568077c4e6d087}
+tags: {wine: 15dd8e2b981ca32cae94409153627b3300bbeab8}