~ubuntu-branches/ubuntu/maverick/wine/maverick

« back to all changes in this revision

Viewing changes to dlls/ddraw/tests/visual.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2008-06-17 10:22:39 UTC
  • mfrom: (1.1.41 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617102239-s8olx8ehtsdejmhz
Tags: 1.0.0-1ubuntu1
* New upstream release
  - First stable release of Wine
* Change to 1.0.0 versioning scheme since Wine will make a 1.0.1
* Remove dh_installchangelogs since the upstream changelog was removed
  - It is now available online at winehq.org

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    ok(hr==DD_OK || hr==DDERR_NODIRECTDRAWSUPPORT, "DirectDrawCreateEx returned: %x\n", hr);
56
56
    if(!DirectDraw) goto err;
57
57
 
58
 
    wc.lpfnWndProc = &DefWindowProc;
 
58
    wc.lpfnWndProc = DefWindowProc;
59
59
    wc.lpszClassName = "d3d7_test_wc";
60
60
    RegisterClass(&wc);
61
61
    window = CreateWindow("d3d7_test_wc", "d3d7_test", WS_MAXIMIZE | WS_VISIBLE | WS_CAPTION , 0, 0, 640, 480, 0, 0, 0, 0);
824
824
        return FALSE;
825
825
    }
826
826
 
827
 
    wc.lpfnWndProc = &DefWindowProc;
 
827
    wc.lpfnWndProc = DefWindowProc;
828
828
    wc.lpszClassName = "texturemapblend_test_wc";
829
829
    RegisterClass(&wc);
830
830
    window = CreateWindow("texturemapblend_test_wc", "texturemapblend_test", WS_MAXIMIZE | WS_VISIBLE | WS_CAPTION , 0, 0, 640, 480, 0, 0, 0, 0);
1910
1910
    WORD Indices[] = {0, 1, 2, 2, 3, 0};
1911
1911
    DWORD fvf = D3DFVF_XYZ | D3DFVF_DIFFUSE;
1912
1912
 
1913
 
    wc.lpfnWndProc = &DefWindowProc;
 
1913
    wc.lpfnWndProc = DefWindowProc;
1914
1914
    wc.lpszClassName = "D3D3_ViewportClearTest_wc";
1915
1915
    RegisterClass(&wc);
1916
1916
    window = CreateWindow("D3D3_ViewportClearTest_wc", "D3D3_ViewportClearTest",
2176
2176
        goto out;
2177
2177
    }
2178
2178
 
2179
 
    wc.lpfnWndProc = &DefWindowProc;
 
2179
    wc.lpfnWndProc = DefWindowProc;
2180
2180
    wc.lpszClassName = "p8_primary_test_wc";
2181
2181
    RegisterClass(&wc);
2182
2182
    window = CreateWindow("p8_primary_test_wc", "p8_primary_test", WS_MAXIMIZE | WS_VISIBLE | WS_CAPTION , 0, 0, 640, 480, 0, 0, 0, 0);