Day 40 complete.
This commit is contained in:
+7
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user