make window test

much of this is based on cross-referencing from
the sdl3 snake demo:
https://examples.libsdl.org/SDL3/demo/01-snake/

i need to work out an elegant system for logging.
probably involving macro wonk.
This commit is contained in:
cat 2025-05-24 19:14:51 +10:00
parent 10f98381cc
commit b320df0121
3 changed files with 64 additions and 8 deletions

5
dat.h Normal file
View file

@ -0,0 +1,5 @@
typedef struct State State;
struct State {
SDL_Window *win;
SDL_Renderer *ren;
};