d3d9: Avoid a not needed address-of operator.

This commit is contained in:
Dmitry Timoshkov 2008-06-04 12:04:20 +09:00 committed by Alexandre Julliard
parent 92dfc02b01
commit 1c8994247e
8 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);