Commit 92dfc02b authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

d3d8: Avoid a not needed address-of operator.

parent 2cf47c00
......@@ -22,7 +22,7 @@
static HWND create_window(void)
{
WNDCLASS wc = {0};
wc.lpfnWndProc = &DefWindowProc;
wc.lpfnWndProc = DefWindowProc;
wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc);
......
......@@ -22,7 +22,7 @@
static HWND create_window(void)
{
WNDCLASS wc = {0};
wc.lpfnWndProc = &DefWindowProc;
wc.lpfnWndProc = DefWindowProc;
wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc);
......
......@@ -30,7 +30,7 @@ static HWND create_window(void)
{
WNDCLASS wc = {0};
HWND ret;
wc.lpfnWndProc = &DefWindowProc;
wc.lpfnWndProc = DefWindowProc;
wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc);
......
......@@ -22,7 +22,7 @@
static HWND create_window(void)
{
WNDCLASS wc = {0};
wc.lpfnWndProc = &DefWindowProc;
wc.lpfnWndProc = DefWindowProc;
wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment