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:
Krzosa Karol
2022-02-17 21:00:58 +01:00
parent 0404615190
commit 84c6191df6
6 changed files with 184 additions and 58 deletions

9
main.h
View File

@@ -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;