mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2025-04-17 20:11:12 +00:00
another memory smasher fixed
This commit is contained in:
parent
33b309700e
commit
33a72b9c4c
1 changed files with 1 additions and 1 deletions
|
@ -1661,7 +1661,7 @@ int QZ_SetGammaRamp (_THIS, Uint16 *ramp)
|
|||
|
||||
int QZ_GetGammaRamp (_THIS, Uint16 *ramp)
|
||||
{
|
||||
const uint32_t tableSize = 255;
|
||||
const uint32_t tableSize = 256;
|
||||
CGGammaValue redTable[tableSize];
|
||||
CGGammaValue greenTable[tableSize];
|
||||
CGGammaValue blueTable[tableSize];
|
||||
|
|
Loading…
Reference in a new issue