Fix tonemap palette not being rebuilt on palette change
This commit is contained in:
parent
c9578ae72d
commit
b1a0108a96
4 changed files with 11 additions and 0 deletions
|
|
@ -278,6 +278,12 @@ void FGLRenderer::BindTonemapPalette(int texunit)
|
|||
}
|
||||
}
|
||||
|
||||
void FGLRenderer::ClearTonemapPalette()
|
||||
{
|
||||
delete mTonemapPalette;
|
||||
mTonemapPalette = nullptr;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Apply lens distortion and place the result in the HUD/2D texture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue