mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-02 18:21:02 +00:00
- GL changes for engine restart.
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1131 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
7e4872793f
commit
8414b8102d
10 changed files with 47 additions and 6 deletions
|
@ -624,3 +624,12 @@ void OpenGLFrameBuffer::DrawRemainingPlayerSprites()
|
|||
{
|
||||
// not used by hardware renderer
|
||||
}
|
||||
|
||||
void OpenGLFrameBuffer::GameRestart()
|
||||
{
|
||||
memcpy (SourcePalette, GPalette.BaseColors, sizeof(PalEntry)*256);
|
||||
UpdatePalette ();
|
||||
ScreenshotBuffer = NULL;
|
||||
LastCamera = NULL;
|
||||
gl_GenerateGlobalBrightmapFromColormap();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue