Mercurial > sdl-ios-xcode
comparison src/SDL_compat.c @ 5248:3a8a452b49f0
Removed gamma support since it wasn't widely used and not well supported.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 10 Feb 2011 11:39:08 -0800 |
parents | 34e2d5115786 |
children | 762e40fb8e28 |
comparison
equal
deleted
inserted
replaced
5247:78ce7bfd0faf | 5248:3a8a452b49f0 |
---|---|
1524 SDL_GL_SwapBuffers(void) | 1524 SDL_GL_SwapBuffers(void) |
1525 { | 1525 { |
1526 SDL_GL_SwapWindow(SDL_VideoWindow); | 1526 SDL_GL_SwapWindow(SDL_VideoWindow); |
1527 } | 1527 } |
1528 | 1528 |
1529 int | |
1530 SDL_SetGamma(float red, float green, float blue) | |
1531 { | |
1532 SDL_Unsupported(); | |
1533 return -1; | |
1534 } | |
1535 | |
1536 int | |
1537 SDL_SetGammaRamp(const Uint16 * red, const Uint16 * green, const Uint16 * blue) | |
1538 { | |
1539 SDL_Unsupported(); | |
1540 return -1; | |
1541 } | |
1542 | |
1543 int | |
1544 SDL_GetGammaRamp(Uint16 * red, Uint16 * green, Uint16 * blue) | |
1545 { | |
1546 SDL_Unsupported(); | |
1547 return -1; | |
1548 } | |
1529 | 1549 |
1530 int | 1550 int |
1531 SDL_EnableKeyRepeat(int delay, int interval) | 1551 SDL_EnableKeyRepeat(int delay, int interval) |
1532 { | 1552 { |
1533 return 0; | 1553 return 0; |