mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-06 22:37:22 +00:00
(svn r8218) -Codechange: Increase spritecache size to 2MB. This will vastly improve performance when using (lots of) grf files. You can change it yourself easily with the SPRITE_CACHE_SIZE compile flag. (peter1138).
This commit is contained in:
parent
652b804a9e
commit
653290c76a
@ -10,7 +10,9 @@
|
||||
#include "fileio.h"
|
||||
#include "helpers.hpp"
|
||||
|
||||
#define SPRITE_CACHE_SIZE 1024*1024
|
||||
#ifndef SPRITE_CACHE_SIZE
|
||||
# define SPRITE_CACHE_SIZE 2*1024*1024
|
||||
#endif /* SPRITE_CACHE_SIZE */
|
||||
|
||||
|
||||
typedef struct SpriteCache {
|
||||
|
Loading…
Reference in New Issue
Block a user