mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- nothing
This commit is contained in:
parent
971d8c7b8d
commit
06e9a60190
2 changed files with 1 additions and 2 deletions
|
@ -221,7 +221,6 @@ void PaletteManager::SetPalswapData(int index, const uint8_t* data, int numshade
|
||||||
palswapTexture->CreateTexture(PALSWAP_TEXTURE_SIZE, PALSWAP_TEXTURE_SIZE, true, false);
|
palswapTexture->CreateTexture(PALSWAP_TEXTURE_SIZE, PALSWAP_TEXTURE_SIZE, true, false);
|
||||||
palswapTexture->SetSampler(Sampler2DNoFilter);
|
palswapTexture->SetSampler(Sampler2DNoFilter);
|
||||||
}
|
}
|
||||||
else inst->UnbindTexture(1); // Unbind for updating.
|
|
||||||
|
|
||||||
int32_t column = index % (PALSWAP_TEXTURE_SIZE / 256);
|
int32_t column = index % (PALSWAP_TEXTURE_SIZE / 256);
|
||||||
int32_t row = index / (PALSWAP_TEXTURE_SIZE / 256);
|
int32_t row = index / (PALSWAP_TEXTURE_SIZE / 256);
|
||||||
|
|
|
@ -122,7 +122,7 @@ vec4 convertColor(vec4 color, int effect, vec3 tint)
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//
|
//
|
||||||
// Talk about all the wrong way of being 'efficient'... :(
|
//
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue