Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2021-11-14 00:20:00 +0300
committerBartosz Taudul <wolf@nereid.pl>2021-11-14 00:20:00 +0300
commitbe264896f0b424d01b6f9033c717ef872a5b4b70 (patch)
tree19ea3c9706059f0bdfa58e79b3a18856fe904da9 /server/TracyBadVersion.hpp
parent46e0584ccaaf5e90197fa842b4857442a3e1bfc4 (diff)
Use big icons in bad version dialogs.
Diffstat (limited to 'server/TracyBadVersion.hpp')
-rw-r--r--server/TracyBadVersion.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/TracyBadVersion.hpp b/server/TracyBadVersion.hpp
index 5cc3023a..ba166509 100644
--- a/server/TracyBadVersion.hpp
+++ b/server/TracyBadVersion.hpp
@@ -1,6 +1,7 @@
#ifndef __TRACYBADVERSION_HPP__
#define __TRACYBADVERSION_HPP__
+#include <imgui.h>
#include "../common/TracyForceInline.hpp"
namespace tracy
@@ -23,10 +24,10 @@ struct BadVersionState
namespace detail
{
-void BadVersionImpl( BadVersionState& badVer );
+void BadVersionImpl( BadVersionState& badVer, ImFont* big );
}
-tracy_force_inline void BadVersion( BadVersionState& badVer ) { if( badVer.state != BadVersionState::Ok ) detail::BadVersionImpl( badVer ); }
+tracy_force_inline void BadVersion( BadVersionState& badVer, ImFont* big ) { if( badVer.state != BadVersionState::Ok ) detail::BadVersionImpl( badVer, big ); }
}