Files
software_rasterizer/platform.h

20 lines
269 B
C

#include "main.h"
struct Image {
U32* pixels;
I64 x;
I64 y;
};
struct OSInitArgs {
int window_x;
int window_y;
};
extern Image screen;
extern float* depth_buffer;
extern bool keydown_a;
extern bool keydown_b;
bool OS_GameLoop();
void OS_Init(OSInitArgs);