Commit 66300403 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ddraw: Only perform the screen resolution changing tests in interactive mode.

parent b2152692
/*
* Unit tests for ddraw functions
*
*
* Part of this test involves changing the screen resolution. But this is
* really disrupting if the user is doing something else and is not very nice
* to CRT screens. Plus, ideally it needs someone watching it to check that
* each mode displays correctly.
* So this is only done if the test is being run in interactive mode.
*
* Copyright (C) 2003 Sami Aario
*
* This library is free software; you can redistribute it and/or
......@@ -342,7 +349,8 @@ START_TEST(ddrawmodes)
if (!createdirectdraw())
return;
enumdisplaymodes();
testdisplaymodes();
if (winetest_interactive)
testdisplaymodes();
flushdisplaymodes();
releasedirectdraw();
......
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