From 9040953e1314469b481da47ab30a9655311db8b0 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 18 Feb 2019 14:56:53 +0100 Subject: [PATCH] Proper constructors are needed. --- TracyOpenGL.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/TracyOpenGL.hpp b/TracyOpenGL.hpp index 10bd860c..6af51505 100644 --- a/TracyOpenGL.hpp +++ b/TracyOpenGL.hpp @@ -19,7 +19,13 @@ namespace tracy { -class GpuCtxScope {}; +struct SourceLocationData; +class GpuCtxScope +{ +public: + GpuCtxScope( const SourceLocationData* ) {} + GpuCtxScope( const SourceLocationData*, int depth ) {} +}; } #else