forked from mirror/OpenTTD
Codechange: Add 'const' to static variables, which are only initialised once.
This commit is contained in:
@@ -3559,7 +3559,7 @@ struct ViewportSSCSS {
|
||||
};
|
||||
|
||||
/** List of sorters ordered from best to worst. */
|
||||
static ViewportSSCSS _vp_sprite_sorters[] = {
|
||||
static const ViewportSSCSS _vp_sprite_sorters[] = {
|
||||
#ifdef WITH_SSE
|
||||
{ &ViewportSortParentSpritesSSE41Checker, &ViewportSortParentSpritesSSE41 },
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user