mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Unify the magic number indicating the number of impassable tiles at the map edge redundant in the Pathfinder, RangeManager and MapGenerator.
Refs #4034, #4636. Differential Revision: https://code.wildfiregames.com/D2061 Reviewed By: wraitii This was SVN commit r22459.
This commit is contained in:
@@ -49,6 +49,7 @@ The blurred bitmap is then uploaded into a GL texture for use by the renderer.
|
||||
|
||||
|
||||
// Blur with a NxN filter, where N = g_BlurSize must be an odd number.
|
||||
// Keep it in relation to the number of impassable tiles in MAP_EDGE_TILES.
|
||||
static const size_t g_BlurSize = 7;
|
||||
|
||||
// Alignment (in bytes) of the pixel data passed into glTexSubImage2D.
|
||||
|
||||
Reference in New Issue
Block a user