mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +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
|
@ -55,7 +55,7 @@ void glsurface_setPalette(void* pPalette)
|
|||
paletteTexture->CreateTexture(256, 1, false, false);
|
||||
}
|
||||
paletteTexture->LoadTexture(palette);
|
||||
GLInterface.BindTexture(1, paletteTexture, Sampler2DNoFilter);
|
||||
GLInterface.BindTexture(1, paletteTexture, SamplerNoFilterClampXY);
|
||||
}
|
||||
|
||||
void* glsurface_getBuffer()
|
||||
|
@ -74,7 +74,7 @@ void glsurface_blitBuffer()
|
|||
return;
|
||||
|
||||
bufferTexture->LoadTexture(buffer.Data());
|
||||
GLInterface.BindTexture(0, bufferTexture, Sampler2DNoFilter);
|
||||
GLInterface.BindTexture(0, bufferTexture, SamplerNoFilterClampXY);
|
||||
|
||||
auto data = GLInterface.AllocVertices(4);
|
||||
auto vt = data.second;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue