summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r--servers/visual/rasterizer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h
index 85e2b8aadc..9d59f87edd 100644
--- a/servers/visual/rasterizer.h
+++ b/servers/visual/rasterizer.h
@@ -629,6 +629,11 @@ public:
Color get_default_clear_color() const {
return default_clear_color;
}
+#define TIMESTAMP_BEGIN() \
+ { \
+ if (VSG::storage->capturing_timestamps) VSG::storage->capture_timestamps_begin(); \
+ }
+
#define RENDER_TIMESTAMP(m_text) \
{ \
if (VSG::storage->capturing_timestamps) VSG::storage->capture_timestamp(m_text); \