Renamed bgfxdefines.h to defines.h, and bgfxplatform.h to platform.h.

This commit is contained in:
Branimir Karadžić 2016-12-05 19:52:01 -08:00
parent f9bc9d560f
commit 8da9e54957
17 changed files with 14 additions and 15 deletions

View File

@ -7,7 +7,7 @@
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_ANDROID
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#include <stdio.h>
#include <bx/thread.h>

View File

@ -26,7 +26,7 @@
#endif //
#include <GLFW/glfw3native.h>
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#include <bx/thread.h>
#include <bx/handlealloc.h>

View File

@ -17,7 +17,7 @@
//# define HAS_METAL_SDK
#endif
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#include <bx/uint32_t.h>
#include <bx/thread.h>

View File

@ -7,7 +7,7 @@
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_NACL
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#include <stdio.h>
#include <string.h>
@ -29,7 +29,6 @@
#include <ppapi/c/ppp_instance.h>
#include <ppapi/gles2/gl2ext_ppapi.h>
#include <bgfx/bgfxplatform.h>
#include <bx/thread.h>
#include "entry.h"

View File

@ -9,7 +9,7 @@
#import <Cocoa/Cocoa.h>
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#include <bx/uint32_t.h>
#include <bx/thread.h>

View File

@ -20,7 +20,7 @@ BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG("-Wextern-c-compat")
#include <SDL2/SDL_syswm.h>
BX_PRAGMA_DIAGNOSTIC_POP()
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#if defined(None) // X11 defines this...
# undef None
#endif // defined(None)

View File

@ -7,7 +7,7 @@
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_WINDOWS
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#include <bx/uint32_t.h>
#include <bx/thread.h>

View File

@ -7,7 +7,7 @@
#if BX_PLATFORM_WINRT || BX_PLATFORM_XBOXONE
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#include <bx/thread.h>
#include <bx/fpumath.h>
#include <Unknwn.h>

View File

@ -11,7 +11,7 @@
#define XK_LATIN1
#include <X11/keysymdef.h>
#include <X11/Xlib.h> // will include X11 which #defines None... Don't mess with order of includes.
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#undef None
#include <bx/thread.h>

View File

@ -10,7 +10,7 @@
#include <stdint.h> // uint32_t
#include <stdlib.h> // NULL
#include <bgfx/bgfxdefines.h>
#include <bgfx/defines.h>
///
#define BGFX_HANDLE(_name) \

View File

@ -39,7 +39,7 @@
# define BGFX_C_API BGFX_SHARED_LIB_API
#endif // defined(__cplusplus)
#include <bgfx/bgfxdefines.h>
#include <bgfx/defines.h>
typedef enum bgfx_renderer_type
{

View File

@ -3850,7 +3850,7 @@ error:
} // namespace bgfx
#include <bgfx/c99/bgfx.h>
#include <bgfx/c99/bgfxplatform.h>
#include <bgfx/c99/platform.h>
#define FLAGS_MASK_TEST(_flags, _mask) ( (_flags) == ( (_flags) & (_mask) ) )

View File

@ -139,7 +139,7 @@ namespace bgfx
#include <bx/os.h>
#include <bx/maputil.h>
#include <bgfx/bgfxplatform.h>
#include <bgfx/platform.h>
#include "image.h"
#include "shader.h"

View File

@ -6,7 +6,7 @@
#include "bgfx_p.h"
#if BX_PLATFORM_NACL && (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
# include <bgfx/bgfxplatform.h>
# include <bgfx/platform.h>
# include "renderer_gl.h"
namespace bgfx { namespace gl