src/video/x11/SDL_x11gamma.c
author Bob Pendleton <bob@pendleton.com>
Tue, 10 Jul 2007 14:44:20 +0000
changeset 2162 1d23870d8c49
child 2211 9462f4408ecb
permissions -rw-r--r--
Added stubs for x11 gamma functions and enabled them in SDL_x11video.c
bob@2162
     1
/*
bob@2162
     2
    SDL - Simple DirectMedia Layer
bob@2162
     3
    Copyright (C) 1997-2006 Sam Lantinga
bob@2162
     4
bob@2162
     5
    This library is free software; you can redistribute it and/or
bob@2162
     6
    modify it under the terms of the GNU Lesser General Public
bob@2162
     7
    License as published by the Free Software Foundation; either
bob@2162
     8
    version 2.1 of the License, or (at your option) any later version.
bob@2162
     9
bob@2162
    10
    This library is distributed in the hope that it will be useful,
bob@2162
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
bob@2162
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
bob@2162
    13
    Lesser General Public License for more details.
bob@2162
    14
bob@2162
    15
    You should have received a copy of the GNU Lesser General Public
bob@2162
    16
    License along with this library; if not, write to the Free Software
bob@2162
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
bob@2162
    18
bob@2162
    19
    Sam Lantinga
bob@2162
    20
    slouken@libsdl.org
bob@2162
    21
*/
bob@2162
    22
#include "SDL_config.h"
bob@2162
    23
#include "../SDL_sysvideo.h"
bob@2162
    24
#include "SDL_x11video.h"
bob@2162
    25
bob@2162
    26
bob@2162
    27
int
bob@2162
    28
X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp)
bob@2162
    29
{
bob@2162
    30
    return (-1);
bob@2162
    31
}
bob@2162
    32
bob@2162
    33
int
bob@2162
    34
X11_GetDisplayGammaRamp(_THIS, Uint16 * ramp)
bob@2162
    35
{
bob@2162
    36
    return -1;
bob@2162
    37
}