diff options
Diffstat (limited to 'in_practice/breakout/texture.h')
-rw-r--r-- | in_practice/breakout/texture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/in_practice/breakout/texture.h b/in_practice/breakout/texture.h index 2e9d867..388a100 100644 --- a/in_practice/breakout/texture.h +++ b/in_practice/breakout/texture.h @@ -17,9 +17,9 @@ typedef struct { u32 mag_filter; } gl_texture_t; -#define DEFAULT_TEXTURE {0, 0, 0, 0, GL_RGB, GL_RGB, GL_REPEAT, GL_REPEAT, GL_NEAREST, GL_NEAREST} +#define default_texture {0, 0, 0, 0, GL_RGB, GL_RGB, GL_REPEAT, GL_REPEAT, GL_NEAREST, GL_NEAREST} -#define MAX_TEXTURES 8 +#define MAX_TEXTURES 16 extern gl_texture_t textures[MAX_TEXTURES]; extern void generate_texture(gl_texture_t *texture, u32 width, u32 height, void *data); |