| Index: tests/common/win/testing_common.cc
|
| ===================================================================
|
| --- tests/common/win/testing_common.cc (revision 19743)
|
| +++ tests/common/win/testing_common.cc (working copy)
|
| @@ -160,7 +160,8 @@
|
| display_window = display_window;
|
| display_window->set_hwnd(g_window_handle);
|
| g_display_window = display_window;
|
| - bool offscreen = ::GetEnvironmentVariableW(kOffScreenRenderer, NULL, 0);
|
| + bool offscreen = (::GetEnvironmentVariableW(kOffScreenRenderer,
|
| + NULL, 0) == 0);
|
| if (offscreen) {
|
| success =
|
| g_renderer->Init(*g_display_window, true) == o3d::Renderer::SUCCESS;
|
|
|