diff options
Diffstat (limited to 'src/Gif.cpp')
-rw-r--r-- | src/Gif.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Gif.cpp b/src/Gif.cpp index b1f4fd3..eed5b98 100644 --- a/src/Gif.cpp +++ b/src/Gif.cpp @@ -107,6 +107,7 @@ namespace dchat if(!texture.create(gif.width, gif.height)) throw GifLoadException("Failed to create texture for gif"); + texture.setSmooth(true); sprite.setTexture(texture, true); } @@ -157,6 +158,8 @@ namespace dchat if(currentFrame != startFrame) { texture.update(image); + // TODO: Check if this is too heavy + texture.generateMipmap(); sprite.setTexture(texture, true); } target.draw(sprite); |