mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed VS build.
This commit is contained in:
@@ -8,10 +8,11 @@
|
||||
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); \
|
||||
const uint8_t BX_CONCATENATE(_name, _pssl[]) = { 0 }; \
|
||||
#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);
|
||||
|
||||
Reference in New Issue
Block a user