mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
- 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:
parent
2152780806
commit
d4fc13fba5
8 changed files with 40 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue