mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-05 20:50:43 +00:00
5278f9fd73
give vid_fbdev VID_SetGamma mame vid_common_gl and vid_common_sw of their gamma code (vid_common_sw is now empty:/) rewrite VID_InitGamma to do the right thing with cvars with callbacks gl clients have [temporarily?] lost the CVAR_ROM on vid_gamma
39 lines
991 B
C
39 lines
991 B
C
/*
|
|
vid_common_sw.c
|
|
|
|
Common software video driver functions
|
|
|
|
Copyright (C) 2001 Jeff Teunissen <deek@quakeforge.net>
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to:
|
|
|
|
Free Software Foundation, Inc.
|
|
59 Temple Place - Suite 330
|
|
Boston, MA 02111-1307, USA
|
|
|
|
$Id$
|
|
*/
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
# include "config.h"
|
|
#endif
|
|
|
|
#include <math.h>
|
|
|
|
#include "QF/cvar.h"
|
|
#include "QF/compat.h"
|
|
#include "QF/qargs.h"
|
|
#include "vid.h"
|
|
#include "view.h"
|