summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-10-03 20:15:38 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:03:23 +0100
commit965185c765bf5d17f0f035b7685dbaf4611e5288 (patch)
tree7cd2c6ee48583a87f62aaf2d3768c3399866fb5d /servers/visual/rasterizer.h
parentfa548b052e844cbae100583998f580e078538eb0 (diff)
Better GIProbe quality settings.
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); \