mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 05:43:12 +01:00
Moved public header files into bgfx subdirectory.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <tinystl/string.h>
|
||||
namespace stl = tinystl;
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
#include <bx/readerwriter.h>
|
||||
#include <bx/fpumath.h>
|
||||
#include <bx/string.h>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef BGFX_UTILS_H_HEADER_GUARD
|
||||
#define BGFX_UTILS_H_HEADER_GUARD
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
|
||||
void* load(const char* _filePath, uint32_t* _size = NULL);
|
||||
void unload(void* _ptr);
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "common.h"
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
|
||||
#include <limits.h> // INT_MAX
|
||||
#include <memory.h> // memset
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
/// algorithm based on C++ sources provided by Jukka Jylänki at:
|
||||
/// http://clb.demon.fi/files/RectangleBinPack/
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
|
||||
struct AtlasRegion
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
#include <bx/string.h>
|
||||
#include <bx/readerwriter.h>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_ANDROID
|
||||
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <bx/thread.h>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#define GLFW_DLL
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
#include "dbg.h"
|
||||
|
||||
// This is just trivial implementation of GLFW3 integration.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//# define HAS_METAL_SDK
|
||||
#endif
|
||||
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
|
||||
#include <bx/uint32_t.h>
|
||||
#include <bx/thread.h>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_NACL
|
||||
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <ppapi/c/ppp_instance.h>
|
||||
#include <ppapi/gles2/gl2ext_ppapi.h>
|
||||
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
#include <bx/thread.h>
|
||||
|
||||
#include "entry.h"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
|
||||
#include <bx/uint32_t.h>
|
||||
#include <bx/thread.h>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_syswm.h>
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <bx/thread.h>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_WINDOWS
|
||||
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
|
||||
#include <bx/uint32_t.h>
|
||||
#include <bx/thread.h>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#if BX_PLATFORM_WINRT
|
||||
|
||||
#include <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
#include <bx/thread.h>
|
||||
|
||||
using namespace Windows::ApplicationModel;
|
||||
|
||||
@@ -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 <bgfxplatform.h>
|
||||
#include <bgfx/bgfxplatform.h>
|
||||
|
||||
#undef None
|
||||
#include <bx/thread.h>
|
||||
|
||||
@@ -25,7 +25,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
|
||||
#include "../common.h"
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
#include <math.h>
|
||||
|
||||
#if USE_EDTAA3
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#define FONT_MANAGER_H_HEADER_GUARD
|
||||
|
||||
#include <bx/handlealloc.h>
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
|
||||
class Atlas;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "../common.h"
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
#include <stddef.h> // offsetof
|
||||
#include <memory.h> // memcpy
|
||||
#include <wchar.h> // wcslen
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#ifndef IMGUI_H_HEADER_GUARD
|
||||
#define IMGUI_H_HEADER_GUARD
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
#include <ocornut-imgui/imgui.h>
|
||||
|
||||
#define IMGUI_MBUT_LEFT 0x01
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
#include <bx/allocator.h>
|
||||
#include <bx/fpumath.h>
|
||||
#include <bx/timer.h>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <math.h>
|
||||
#include "nanovg.h"
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bgfx/bgfx.h>
|
||||
|
||||
#include <bx/bx.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user