texture resolutions
This commit is contained in:
parent
a091a542f3
commit
641953bba1
4 changed files with 35 additions and 11 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue