Skip to content
Snippets Groups Projects
Commit 4c59f8c6 authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Fix OpenGL GIF recording crashing with gif_localcolortable disabled

parent b19764dc
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment