mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
use the correct palette when writing out screen shots
This commit is contained in:
parent
ecdd537183
commit
899ad6bebe
2 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ SCR_ScreenShot_f (void)
|
|||
|
||||
// save the pcx file
|
||||
pcx = EncodePCX (vid.buffer, vid.width, vid.height, vid.rowbytes,
|
||||
vid.palette, false, &pcx_len);
|
||||
vid.basepal, false, &pcx_len);
|
||||
COM_WriteFile (pcxname, pcx, pcx_len);
|
||||
|
||||
|
||||
|
|
|
@ -668,7 +668,7 @@ SCR_ScreenShot_f (void)
|
|||
switch(r_pixbytes) {
|
||||
case 1:
|
||||
pcx = EncodePCX (vid.buffer, vid.width, vid.height, vid.rowbytes,
|
||||
vid.palette, false, &pcx_len);
|
||||
vid.basepal, false, &pcx_len);
|
||||
break;
|
||||
case 2:
|
||||
Con_Printf("SCR_ScreenShot_f: FIXME - add 16bit support\n");
|
||||
|
|
Loading…
Reference in a new issue