mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed undefined defines errors.
This commit is contained in:
parent
17b2559e35
commit
2dcfe10acf
3 changed files with 6 additions and 4 deletions
|
@ -6,6 +6,8 @@
|
|||
#ifndef BGFX_CONFIG_H_HEADER_GUARD
|
||||
#define BGFX_CONFIG_H_HEADER_GUARD
|
||||
|
||||
#include <bx/platform.h>
|
||||
|
||||
#ifndef BGFX_CONFIG_DEBUG
|
||||
# define BGFX_CONFIG_DEBUG 0
|
||||
#endif // BGFX_CONFIG_DEBUG
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include "bgfx_p.h"
|
||||
|
||||
#if BX_PLATFORM_NACL & (BGFX_CONFIG_RENDERER_OPENGLES|BGFX_CONFIG_RENDERER_OPENGL)
|
||||
#if BX_PLATFORM_NACL && (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
|
||||
# include <bgfxplatform.h>
|
||||
# include "renderer_gl.h"
|
||||
|
||||
|
@ -174,4 +174,4 @@ namespace bgfx
|
|||
|
||||
} // namespace bgfx
|
||||
|
||||
#endif // BX_PLATFORM_NACL & (BGFX_CONFIG_RENDERER_OPENGLES|BGFX_CONFIG_RENDERER_OPENGL)
|
||||
#endif // BX_PLATFORM_NACL && (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include "bgfx_p.h"
|
||||
|
||||
#if (BGFX_CONFIG_RENDERER_OPENGLES|BGFX_CONFIG_RENDERER_OPENGL)
|
||||
#if (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
|
||||
# include "renderer_gl.h"
|
||||
# include <bx/timer.h>
|
||||
# include <bx/uint32_t.h>
|
||||
|
@ -4846,4 +4846,4 @@ namespace bgfx
|
|||
}
|
||||
} // namespace bgfx
|
||||
|
||||
#endif // (BGFX_CONFIG_RENDERER_OPENGLES|BGFX_CONFIG_RENDERER_OPENGL)
|
||||
#endif // (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
|
||||
|
|
Loading…
Reference in a new issue