remove pointless defines
parent
1d55df92e1
commit
7c5b5a8aac
|
@ -26,11 +26,6 @@
|
||||||
|
|
||||||
#include "cram.h"
|
#include "cram.h"
|
||||||
|
|
||||||
#define STBI_ASSERT assert
|
|
||||||
#define STBI_MALLOC malloc
|
|
||||||
#define STBI_REALLOC realloc
|
|
||||||
#define STBI_FREE free
|
|
||||||
|
|
||||||
#define STBI_ONLY_PNG
|
#define STBI_ONLY_PNG
|
||||||
#define STB_IMAGE_IMPLEMENTATION
|
#define STB_IMAGE_IMPLEMENTATION
|
||||||
#include "stb_image.h"
|
#include "stb_image.h"
|
||||||
|
@ -41,10 +36,6 @@
|
||||||
#define INITIAL_DATA_CAPACITY 8
|
#define INITIAL_DATA_CAPACITY 8
|
||||||
#define INITIAL_FREE_RECTANGLE_CAPACITY 16
|
#define INITIAL_FREE_RECTANGLE_CAPACITY 16
|
||||||
|
|
||||||
#define STBDS_SIZE_T_BITS ((sizeof (size_t)) * 8)
|
|
||||||
#define STBDS_ROTATE_LEFT(val, n) (((val) << (n)) | ((val) >> (STBDS_SIZE_T_BITS - (n))))
|
|
||||||
#define STBDS_ROTATE_RIGHT(val, n) (((val) >> (n)) | ((val) << (STBDS_SIZE_T_BITS - (n))))
|
|
||||||
|
|
||||||
/* Structures */
|
/* Structures */
|
||||||
|
|
||||||
typedef struct Rect
|
typedef struct Rect
|
||||||
|
|
Loading…
Reference in New Issue