Day 40 complete.

This commit is contained in:
igor
2026-04-24 16:54:48 -07:00
parent 536c2664fe
commit 8c2290b2ad
3 changed files with 94 additions and 34 deletions
+7 -3
View File
@@ -6,10 +6,15 @@
#include "core.h"
#include "handmade.h"
typedef struct sdl_window_dimension {
typedef struct sdl_window_size {
S32 Width;
S32 Height;
} sdl_window_dimension;
} sdl_window_size;
typedef struct sdl_window_position {
S32 X;
S32 Y;
} sdl_window_position;
typedef struct offscreen_buffer {
/* Pixels are always 32-bit and have the bytes in BGRX
@@ -25,7 +30,6 @@ typedef struct sdl_sound_output {
S32 SamplesPerSecond;
S32 BytesPerSample;
S32 SecondaryBufferSize;
F32 tSine;
S32 LatencySampleCount;
void *Samples;
} sdl_sound_output;