From db32e6c5aa3bf79c23fa51f9297440fcaf09215d Mon Sep 17 00:00:00 2001 From: Aaron Suen Date: Mon, 30 Mar 2015 20:04:19 -0400 Subject: Move texture_min_size even further down the pipe. Now, textures are JIT-upscaled using an image transformation, right at the time they're added to a mesh or particle; images used in 2D elements are left unscaled. This should fix any remaining issues with HUD elements. --- src/client/tile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/tile.h') diff --git a/src/client/tile.h b/src/client/tile.h index ea7a9135a..eadfdc2a5 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -102,6 +102,8 @@ public: virtual video::ITexture* getTexture(u32 id)=0; virtual video::ITexture* getTexture( const std::string &name, u32 *id = NULL)=0; + virtual video::ITexture* getTextureForMesh( + const std::string &name, u32 *id = NULL) = 0; virtual IrrlichtDevice* getDevice()=0; virtual bool isKnownSourceImage(const std::string &name)=0; virtual video::ITexture* generateTextureFromMesh( -- cgit v1.2.3