add trees to scenery, disable mipmapping by default, increase index buffer size again
This commit is contained in:
@ -24,7 +24,7 @@ extern float camera_2d_zoom;
|
||||
|
||||
extern double depth_range_low, depth_range_high;
|
||||
|
||||
#define QUAD_ELEMENT_BUFFER_LENGTH ((65536 * 4) / 6)
|
||||
#define QUAD_ELEMENT_BUFFER_LENGTH ((65536 * 8) / 6)
|
||||
#define CIRCLE_VERTICES_MAX 2048
|
||||
|
||||
/* TODO: limit to only most necessary */
|
||||
|
@ -242,7 +242,7 @@ static void add_new_atlas(TextureCache *cache) {
|
||||
/* TODO: create a PBO surface if possible, reducing duplication */
|
||||
SDL_Surface *new_atlas = create_surface((int)ctx.texture_atlas_size, (int)ctx.texture_atlas_size);
|
||||
arrput(cache->atlas_surfaces, new_atlas);
|
||||
arrput(cache->atlas_textures, create_gpu_texture(TEXTURE_FILTER_NEAREAST, true, 4, (int)ctx.texture_atlas_size, (int)ctx.texture_atlas_size));
|
||||
arrput(cache->atlas_textures, create_gpu_texture(TEXTURE_FILTER_NEAREAST, false, 4, (int)ctx.texture_atlas_size, (int)ctx.texture_atlas_size));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user