add trees to scenery, disable mipmapping by default, increase index buffer size again
This commit is contained in:
@ -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