|
|
@@ -716,7 +716,7 @@ namespace bgfx
|
|
|
s_ctx->destroyTransientIndexBuffer(m_ib);
|
|
|
}
|
|
|
|
|
|
- static const uint32_t paletteSrgb[] =
|
|
|
+ static const uint32_t s_paletteSrgb[] =
|
|
|
{
|
|
|
0x0, // Black
|
|
|
0xffa46534, // Blue
|
|
|
@@ -735,9 +735,9 @@ namespace bgfx
|
|
|
0xff4fe9fc, // Yellow
|
|
|
0xffeceeee, // White
|
|
|
};
|
|
|
- BX_STATIC_ASSERT(BX_COUNTOF(paletteSrgb) == 16);
|
|
|
+ BX_STATIC_ASSERT(BX_COUNTOF(s_paletteSrgb) == 16);
|
|
|
|
|
|
- static const uint32_t paletteLinear[] =
|
|
|
+ static const uint32_t s_paletteLinear[] =
|
|
|
{
|
|
|
0x0, // Black
|
|
|
0xff5e2108, // Blue
|
|
|
@@ -756,7 +756,7 @@ namespace bgfx
|
|
|
0xff13cff8, // Yellow
|
|
|
0xffd5dada // White
|
|
|
};
|
|
|
- BX_STATIC_ASSERT(BX_COUNTOF(paletteLinear) == 16);
|
|
|
+ BX_STATIC_ASSERT(BX_COUNTOF(s_paletteLinear) == 16);
|
|
|
|
|
|
void blit(RendererContextI* _renderCtx, TextVideoMemBlitter& _blitter, const TextVideoMem& _mem)
|
|
|
{
|
|
|
@@ -785,8 +785,8 @@ namespace bgfx
|
|
|
_renderCtx->blitSetup(_blitter);
|
|
|
|
|
|
const uint32_t* palette = 0 != (s_ctx->m_init.resolution.reset & BGFX_RESET_SRGB_BACKBUFFER)
|
|
|
- ? paletteLinear
|
|
|
- : paletteSrgb
|
|
|
+ ? s_paletteLinear
|
|
|
+ : s_paletteSrgb
|
|
|
;
|
|
|
|
|
|
for (;yy < _mem.m_height;)
|