diff Samples/Common/RtViewer.cpp @ 1389:5c83be3a6be5

split SDL / common + RtViewer rename + html test file
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 28 Apr 2020 08:58:41 +0200
parents dfb48f0794b1
children ffdb82850e98
line wrap: on
line diff
--- a/Samples/Common/RtViewer.cpp	Tue Apr 28 08:57:39 2020 +0200
+++ b/Samples/Common/RtViewer.cpp	Tue Apr 28 08:58:41 2020 +0200
@@ -334,6 +334,7 @@
     }
     else if (viewport_->IsRefreshEvent(event))
     {
+      // the viewport has been invalidated and requires repaint
       viewport_->Paint();
     }
   }