From 1c8994247e1b58fad176c4ce67dfd95394211b7f Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 4 Jun 2008 12:04:20 +0900 Subject: [PATCH] d3d9: Avoid a not needed address-of operator. --- dlls/d3d9/tests/d3d9ex.c | 2 +- dlls/d3d9/tests/shader.c | 2 +- dlls/d3d9/tests/stateblock.c | 2 +- dlls/d3d9/tests/surface.c | 2 +- dlls/d3d9/tests/texture.c | 2 +- dlls/d3d9/tests/vertexdeclaration.c | 2 +- dlls/d3d9/tests/visual.c | 2 +- dlls/d3d9/tests/volume.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/d3d9/tests/d3d9ex.c b/dlls/d3d9/tests/d3d9ex.c index b364d33db4a..6df4c45dd9c 100644 --- a/dlls/d3d9/tests/d3d9ex.c +++ b/dlls/d3d9/tests/d3d9ex.c @@ -34,7 +34,7 @@ static HWND create_window(void) { WNDCLASS wc = {0}; HWND ret; - wc.lpfnWndProc = &DefWindowProc; + wc.lpfnWndProc = DefWindowProc; wc.lpszClassName = "d3d9_test_wc"; RegisterClass(&wc); diff --git a/dlls/d3d9/tests/shader.c b/dlls/d3d9/tests/shader.c index 0465cee82c7..07318e39693 100644 --- a/dlls/d3d9/tests/shader.c +++ b/dlls/d3d9/tests/shader.c @@ -25,7 +25,7 @@ static HMODULE d3d9_handle = 0; static HWND create_window(void) { WNDCLASS wc = {0}; - wc.lpfnWndProc = &DefWindowProc; + wc.lpfnWndProc = DefWindowProc; wc.lpszClassName = "d3d9_test_wc"; RegisterClass(&wc); diff --git a/dlls/d3d9/tests/stateblock.c b/dlls/d3d9/tests/stateblock.c index 7efeb0c4192..ee5061f83c2 100644 --- a/dlls/d3d9/tests/stateblock.c +++ b/dlls/d3d9/tests/stateblock.c @@ -28,7 +28,7 @@ static DWORD texture_stages; static HWND create_window(void) { WNDCLASS wc = {0}; - wc.lpfnWndProc = &DefWindowProc; + wc.lpfnWndProc = DefWindowProc; wc.lpszClassName = "d3d9_test_wc"; RegisterClass(&wc); diff --git a/dlls/d3d9/tests/surface.c b/dlls/d3d9/tests/surface.c index d4c9c188f6e..df328bee21d 100644 --- a/dlls/d3d9/tests/surface.c +++ b/dlls/d3d9/tests/surface.c @@ -23,7 +23,7 @@ static HWND create_window(void) { WNDCLASS wc = {0}; - wc.lpfnWndProc = &DefWindowProc; + wc.lpfnWndProc = DefWindowProc; wc.lpszClassName = "d3d9_test_wc"; RegisterClass(&wc); diff --git a/dlls/d3d9/tests/texture.c b/dlls/d3d9/tests/texture.c index 72a05616b7c..056d80f70aa 100644 --- a/dlls/d3d9/tests/texture.c +++ b/dlls/d3d9/tests/texture.c @@ -22,7 +22,7 @@ static HWND create_window(void) { WNDCLASS wc = {0}; - wc.lpfnWndProc = &DefWindowProc; + wc.lpfnWndProc = DefWindowProc; wc.lpszClassName = "d3d9_test_wc"; RegisterClass(&wc); diff --git a/dlls/d3d9/tests/vertexdeclaration.c b/dlls/d3d9/tests/vertexdeclaration.c index df8f162c8f6..292087f5cbc 100644 --- a/dlls/d3d9/tests/vertexdeclaration.c +++ b/dlls/d3d9/tests/vertexdeclaration.c @@ -30,7 +30,7 @@ static HMODULE d3d9_handle = 0; static HWND create_window(void) { WNDCLASS wc = {0}; - wc.lpfnWndProc = &DefWindowProc; + wc.lpfnWndProc = DefWindowProc; wc.lpszClassName = "d3d9_test_wc"; RegisterClass(&wc); diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c index cc85eab0b50..a328123ef87 100644 --- a/dlls/d3d9/tests/visual.c +++ b/dlls/d3d9/tests/visual.c @@ -39,7 +39,7 @@ static HWND create_window(void) { WNDCLASS wc = {0}; HWND ret; - wc.lpfnWndProc = &DefWindowProc; + wc.lpfnWndProc = DefWindowProc; wc.lpszClassName = "d3d9_test_wc"; RegisterClass(&wc); diff --git a/dlls/d3d9/tests/volume.c b/dlls/d3d9/tests/volume.c index 3f3108475f4..31066a619d7 100644 --- a/dlls/d3d9/tests/volume.c +++ b/dlls/d3d9/tests/volume.c @@ -22,7 +22,7 @@ static HWND create_window(void) { WNDCLASS wc = {0}; - wc.lpfnWndProc = &DefWindowProc; + wc.lpfnWndProc = DefWindowProc; wc.lpszClassName = "d3d9_test_wc"; RegisterClass(&wc);