1
0
forked from 0ad/0ad

Water manager will now load normal maps as DDS instead of TGA.

This was SVN commit r3939.
This commit is contained in:
Matei 2006-06-03 21:49:22 +00:00
parent c1b70dcea5
commit 908bd279ad

View File

@ -109,7 +109,7 @@ int WaterManager::LoadWaterTextures()
// Load normalmaps (for fancy water)
while (cur_loading_normal_map < num_normal_maps)
{
snprintf(filename, ARRAY_SIZE(filename), "art/textures/animated/water/%s/normal%02d.tga",
snprintf(filename, ARRAY_SIZE(filename), "art/textures/animated/water/%s/normal%02d.dds",
water_type, cur_loading_normal_map+1);
Handle ht = ogl_tex_load(filename);
if (ht <= 0)