texture resolutions

This commit is contained in:
Rakarake 2026-03-15 14:38:10 +01:00
parent a091a542f3
commit 641953bba1
4 changed files with 35 additions and 11 deletions

View file

@ -10,7 +10,10 @@ typedef struct Renderer {
/// The currently rendered frame.
unsigned int frame_nr;
struct stat shader_file_modified;
unsigned int textures[4];
struct texture {
int width, height, nr_channels;
unsigned int texture;
} textures[4];
int texture_count;
} Renderer;