mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-08 09:02:53 +00:00
Merge branch 'gif-colorlutfix' into 'next'
Fix OpenGL GIF recording crashing with gif_localcolortable disabled See merge request STJr/SRB2!1196
This commit is contained in:
commit
7b48272ca7
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ static void GIF_rgbconvert(UINT8 *linear, UINT8 *scr)
|
|||
size_t src = 0, dest = 0;
|
||||
size_t size = (vid.width * vid.height * 3);
|
||||
|
||||
InitColorLUT(&gif_colorlookup, gif_framepalette, true);
|
||||
InitColorLUT(&gif_colorlookup, (gif_localcolortable) ? gif_framepalette : gif_headerpalette, true);
|
||||
|
||||
while (src < size)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue