Tiles now have the same size even if padding is enabled.

This commit is contained in:
Kalle Bladin
2017-08-08 16:11:16 +02:00
parent 559a8063bc
commit 71f811fcd8
12 changed files with 35 additions and 41 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ void TextureContainer::reset() {
for (size_t i = 0; i < _numTextures; ++i)
{
auto tex = std::make_unique<ghoul::opengl::Texture>(
_initData.dimensionsWithPadding(),
_initData.dimensions(),
_initData.ghoulTextureFormat(),
_initData.glTextureFormat(),
_initData.glType(),