- cleaned up the sampler manager's content names and added the missing types to allow easier switching between indexed (no filtering) and non-indexed (filter as per user option).

This commit is contained in:
Christoph Oelckers 2019-10-19 19:10:09 +02:00
parent 2152780806
commit d4fc13fba5
8 changed files with 40 additions and 44 deletions

View file

@ -71,7 +71,7 @@ FHardwareTexture *gloadtex(const int32_t *picbuf, int32_t xsiz, int32_t ysiz, in
auto tex = GLInterface.NewTexture();
tex->CreateTexture(xsiz, ysiz, false, false);
tex->LoadTexture((uint8_t*)pic2);
tex->SetSampler(SamplerNoFilter);
tex->SetSampler(SamplerNoFilterClampXY);
Xfree(pic2);
return tex;