Module: wine Branch: master Commit: cf1e6a487a9a7250698d5496b067bd1bcfce3335 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf1e6a487a9a7250698d5496b0...
Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Jun 20 14:00:04 2013 +0200
ddraw/tests: Get rid of D3DRENDERSTATE_LIGHTING hacks in ddraw4.c.
---
dlls/ddraw/tests/ddraw4.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index c31bc62..45c399b 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -1127,8 +1127,6 @@ static void test_depth_blit(void) ok(SUCCEEDED(hr), "Failed to enable z testing, hr %#x.\n", hr); hr = IDirect3DDevice3_SetRenderState(device, D3DRENDERSTATE_ZFUNC, D3DCMP_LESSEQUAL); ok(SUCCEEDED(hr), "Failed to set the z function, hr %#x.\n", hr); - hr = IDirect3DDevice3_SetRenderState(device, D3DRENDERSTATE_LIGHTING, FALSE); - ok(SUCCEEDED(hr), "Failed to disable lighting, hr %#x.\n", hr);
U1(d3drect).x1 = U2(d3drect).y1 = 0; U3(d3drect).x2 = ddsd_existing.dwWidth; U4(d3drect).y2 = ddsd_existing.dwHeight; @@ -3243,8 +3241,6 @@ static void test_draw_strided(void) hr = IDirect3DViewport3_Clear2(viewport, 1, &clear_rect, D3DCLEAR_TARGET, 0x00000000, 0.0f, 0); ok(SUCCEEDED(hr), "Failed to clear the viewport, hr %#x.\n", hr);
- hr = IDirect3DDevice3_SetRenderState(device, D3DRENDERSTATE_LIGHTING, FALSE); - ok(SUCCEEDED(hr), "Failed to disable lighting, hr %#x.\n", hr); hr = IDirect3DDevice3_BeginScene(device); ok(SUCCEEDED(hr), "Failed to begin scene, hr %#x.\n", hr);