Blitting to a low resolution bitmap, Main application bitmap is now in ABGR format, macro toggles for bilinear blend etc.
This commit is contained in:
9
main.h
9
main.h
@@ -3,5 +3,10 @@
|
||||
#define ARRAY_CAP(x) sizeof((x))/sizeof(*(x))
|
||||
#define FUNCTION static
|
||||
#define GLOBAL static
|
||||
#define MIN(x,y) (x)>(y)?(y):(x)
|
||||
#define MAX(x,y) (x)>(y)?(x):(y)
|
||||
#define MIN(x,y) ((x)>(y)?(y):(x))
|
||||
#define MAX(x,y) ((x)>(y)?(x):(y))
|
||||
#define ABS(x) ((x)<0?-(x):(x))
|
||||
#include <stdint.h>
|
||||
typedef int64_t I64;
|
||||
typedef uint64_t U64;
|
||||
typedef uint32_t U32;
|
||||
|
||||
Reference in New Issue
Block a user