diff options
Diffstat (limited to 'gpu/demos/framework/window_win.cc')
-rw-r--r-- | gpu/demos/framework/window_win.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gpu/demos/framework/window_win.cc b/gpu/demos/framework/window_win.cc index dfd79fc..37f41c2 100644 --- a/gpu/demos/framework/window_win.cc +++ b/gpu/demos/framework/window_win.cc @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "gpu/demos/framework/demo.h" #include "gpu/demos/framework/window.h" namespace { @@ -53,8 +52,7 @@ void Window::MainLoop() { ::DispatchMessage(&msg); } // Message queue is empty and application has not quit yet - keep painting. - if (!done && demo_->IsAnimated()) - ::InvalidateRect(window_handle_,NULL, FALSE); + if (!done) ::InvalidateRect(window_handle_, NULL, FALSE); } } |