Fixed VS build.
This commit is contained in:
parent
6dc8c9824f
commit
5d83b6fa4c
@ -65,7 +65,7 @@ class ExampleHelloWorld : public entry::AppI
|
||||
bgfx::dbgTextPrintf(0, 1, 0x4f, "bgfx/examples/00-helloworld");
|
||||
bgfx::dbgTextPrintf(0, 2, 0x6f, "Description: Initialization and debug text.");
|
||||
|
||||
bgfx::dbgTextPrintf(0, 4, 0x0f, "Color can be changed with ANSI \e[9;me\e[10;ms\e[11;mc\e[12;ma\e[13;mp\e[14;me\e[0m code too.");
|
||||
bgfx::dbgTextPrintf(0, 4, 0x0f, "Color can be changed with ANSI \x1b[9;me\x1b[10;ms\x1b[11;mc\x1b[12;ma\x1b[13;mp\x1b[14;me\x1b[0m code too.");
|
||||
|
||||
const bgfx::Stats* stats = bgfx::getStats();
|
||||
bgfx::dbgTextPrintf(0, 6, 0x0f, "Backbuffer %dW x %dH in pixels, debug text %dW x %dH in characters."
|
||||
|
@ -585,7 +585,7 @@ namespace bgfx
|
||||
for (uint32_t ii = 0, xx = _x; ii < num && xx < m_width; ++ii, ++xx)
|
||||
{
|
||||
char ch = temp[ii];
|
||||
if (BX_UNLIKELY(ch == '\e') )
|
||||
if (BX_UNLIKELY(ch == '\x1b') )
|
||||
{
|
||||
char* ptr = &temp[ii+1];
|
||||
attr = parseAttr(ptr, _attr);
|
||||
|
Loading…
Reference in New Issue
Block a user