1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-30 04:43:53 +00:00

Use named colors.

This commit is contained in:
Bartosz Taudul 2017-11-25 15:32:44 +01:00
parent 2f9a3f7046
commit 71ad3c3b0c
2 changed files with 4 additions and 3 deletions

View File

@ -100,6 +100,7 @@ static inline void LuaRemove( char* script )
#else #else
#include "common/TracyColor.hpp"
#include "common/TracySystem.hpp" #include "common/TracySystem.hpp"
#include "client/TracyProfiler.hpp" #include "client/TracyProfiler.hpp"
@ -111,7 +112,7 @@ namespace detail
static inline int LuaZoneBegin( lua_State* L ) static inline int LuaZoneBegin( lua_State* L )
{ {
const uint32_t color = 0x005588CC; const uint32_t color = Color::DeepSkyBlue3;
lua_Debug dbg; lua_Debug dbg;
lua_getstack( L, 1, &dbg ); lua_getstack( L, 1, &dbg );
@ -152,7 +153,7 @@ static inline int LuaZoneBegin( lua_State* L )
static inline int LuaZoneBeginN( lua_State* L ) static inline int LuaZoneBeginN( lua_State* L )
{ {
const uint32_t color = 0x005588CC; const uint32_t color = Color::DeepSkyBlue3;
lua_Debug dbg; lua_Debug dbg;
lua_getstack( L, 1, &dbg ); lua_getstack( L, 1, &dbg );

View File

@ -64,7 +64,7 @@ public:
void Collect() void Collect()
{ {
ZoneScopedC( 0x881111 ); ZoneScopedC( Color::Red4 );
auto start = m_tail; auto start = m_tail;
auto end = m_head + QueryCount; auto end = m_head + QueryCount;