Skip to content

Commit

Permalink
- fixed generation of brightmaps for sprites.
Browse files Browse the repository at this point in the history
This forgot to take the added empty border for filtering improvement into account.
  • Loading branch information
coelckers committed Jun 13, 2018
1 parent 4dd024a commit fae57a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hwrenderer/textures/hw_material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ void FMaterial::Bind(int clampmode, int translation)
layer = mTextureLayers[i].texture;
}
auto systex = ValidateSysTexture(layer, mExpanded);
systex->BindOrCreate(layer, i+1, clampmode, 0, 0);
systex->BindOrCreate(layer, i+1, clampmode, 0, mExpanded ? CTF_Expand : 0);
maxbound = i+1;
}
}
Expand Down

0 comments on commit fae57a1

Please sign in to comment.