mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- removed FHardwareTexture's mSampler member.
This was a mostly unused relic of early development, the few places using it were static sampler settings.
This commit is contained in:
parent
f6ca5fa650
commit
362be65060
4 changed files with 4 additions and 10 deletions
|
@ -103,10 +103,9 @@ void PaletteManager::BindPalette(int index)
|
|||
auto p = GLInterface.NewTexture();
|
||||
p->CreateTexture(256, 1, FHardwareTexture::TrueColor, false);
|
||||
p->LoadTexture((uint8_t*)palettedata->Palette);
|
||||
p->SetSampler(SamplerNoFilterClampXY);
|
||||
palettetextures[index] = p;
|
||||
}
|
||||
inst->BindTexture(2, palettetextures[index]);
|
||||
inst->BindTexture(2, palettetextures[index], SamplerNoFilterClampXY);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -141,10 +140,9 @@ void PaletteManager::BindPalswap(int index)
|
|||
p[0] = 0;
|
||||
}
|
||||
p->LoadTexture(lookup.Data());
|
||||
p->SetSampler(SamplerNoFilterClampXY);
|
||||
palswaptextures[index] = p;
|
||||
}
|
||||
inst->BindTexture(1, palswaptextures[index]);
|
||||
inst->BindTexture(1, palswaptextures[index], SamplerNoFilterClampXY);
|
||||
inst->SetFadeColor(lookups.getFade(index));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue