diff options
Diffstat (limited to '3rdparty/bgfx/src/renderer_gnm.cpp')
-rw-r--r-- | 3rdparty/bgfx/src/renderer_gnm.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/3rdparty/bgfx/src/renderer_gnm.cpp b/3rdparty/bgfx/src/renderer_gnm.cpp index cb34386bc56..82f76593b11 100644 --- a/3rdparty/bgfx/src/renderer_gnm.cpp +++ b/3rdparty/bgfx/src/renderer_gnm.cpp @@ -1,6 +1,6 @@ /* - * Copyright 2011-2018 Branimir Karadzic. All rights reserved. - * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause + * Copyright 2011-2022 Branimir Karadzic. All rights reserved. + * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE */ #include "bgfx_p.h" @@ -8,12 +8,12 @@ namespace bgfx { -#define BGFX_DECLARE_EMBEDDED_SHADER(_name) \ - extern const uint8_t* BX_CONCATENATE(_name, _pssl); \ - extern const uint32_t BX_CONCATENATE(_name, _pssl_size); \ - static const uint8_t BX_CONCATENATE(_name, _int_pssl)[] = { 0 }; \ - const uint8_t* BX_CONCATENATE(_name, _pssl) = &BX_CONCATENATE(_name, _int_pssl)[0]; \ - const uint32_t BX_CONCATENATE(_name, _pssl_size) = 1 +#define BGFX_DECLARE_EMBEDDED_SHADER(_name) \ + extern const uint8_t* BX_CONCATENATE(_name, _pssl); \ + extern const uint32_t BX_CONCATENATE(_name, _pssl_size); \ + static const uint8_t BX_CONCATENATE(_name, _int_pssl)[] = { 0 }; \ + const uint8_t* BX_CONCATENATE(_name, _pssl) = &BX_CONCATENATE(_name, _int_pssl)[0]; \ + const uint32_t BX_CONCATENATE(_name, _pssl_size) = 1 BGFX_DECLARE_EMBEDDED_SHADER(vs_debugfont); BGFX_DECLARE_EMBEDDED_SHADER(fs_debugfont); @@ -42,4 +42,5 @@ namespace bgfx { namespace gnm void rendererDestroy() { } + } /* namespace gnm */ } // namespace bgfx |