mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
convert pragma once to include guards
This commit is contained in:
parent
def7541538
commit
fe41a9f6b8
4 changed files with 14 additions and 5 deletions
|
@ -1,7 +1,6 @@
|
|||
/* Copyright 2013 Jeremie Roy. All rights reserved.
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
#pragma once
|
||||
#include "cube_atlas.h"
|
||||
#include <bx/bx.h>
|
||||
#include <bgfx.h>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
/* Copyright 2013 Jeremie Roy. All rights reserved.
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __CUBE_ATLAS_H__
|
||||
#define __CUBE_ATLAS_H__
|
||||
|
||||
/// Inspired from texture-atlas from freetype-gl (http://code.google.com/p/freetype-gl/)
|
||||
/// by Nicolas Rougier (Nicolas.Rougier@inria.fr)
|
||||
|
@ -130,4 +131,5 @@ private:
|
|||
AtlasRegion* m_regions;
|
||||
uint8_t* m_textureBuffer;
|
||||
|
||||
};
|
||||
};
|
||||
#endif // __CUBE_ATLAS_H__
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
/* Copyright 2013 Jeremie Roy. All rights reserved.
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __FONT_MANAGER_H__
|
||||
#define __FONT_MANAGER_H__
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bx/handlealloc.h>
|
||||
|
||||
|
@ -200,3 +202,5 @@ private:
|
|||
//temporary buffer to raster glyph
|
||||
uint8_t* m_buffer;
|
||||
};
|
||||
|
||||
#endif // __FONT_MANAGER_H__
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
/* Copyright 2013 Jeremie Roy. All rights reserved.
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __TEXT_BUFFER_MANAGER_H__
|
||||
#define __TEXT_BUFFER_MANAGER_H__
|
||||
|
||||
#include "font_manager.h"
|
||||
|
||||
BGFX_HANDLE(TextBufferHandle);
|
||||
|
@ -91,3 +93,5 @@ private:
|
|||
float m_height;
|
||||
float m_width;
|
||||
};
|
||||
|
||||
#endif // __TEXT_BUFFER_MANAGER_H__
|
||||
|
|
Loading…
Reference in a new issue