Does that fix mac gamma? (can't test this stuff)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3263 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
942af209a7
commit
27fddffedb
1 changed files with 241 additions and 239 deletions
|
@ -186,11 +186,6 @@ void GLVID_SetPalette (unsigned char *palette)
|
|||
Con_Printf("Converted\n");
|
||||
}
|
||||
|
||||
void GLVID_ShiftPalette(unsigned char *p)
|
||||
{
|
||||
// GLVID_SetPalette(p);
|
||||
}
|
||||
|
||||
void Sys_SendKeyEvents(void)
|
||||
{
|
||||
}
|
||||
|
@ -237,3 +232,10 @@ void GLVID_SetDeviceGammaRamp(unsigned short *ramps)
|
|||
cocoaGamma(ramps,ramps+256,ramps+512);
|
||||
}
|
||||
|
||||
void GLVID_ShiftPalette(unsigned char *p)
|
||||
{
|
||||
extern unsigned short ramps[3][256];
|
||||
GLVID_SetDeviceGammaRamp(ramps);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue