restore gamma ramp on exit since some drivers don't do it automatically (eg, ati's fglrx linux driver) (d1x r1.41)
This commit is contained in:
parent
8de16c97e9
commit
a189b13777
|
@ -1,3 +1,9 @@
|
|||
2005-02-24 Matthew Mueller <donut@dakotacom.net>
|
||||
|
||||
* arch/ogl/gr.c: restore gamma ramp on exit since some drivers
|
||||
don't do it automatically (eg, ati's fglrx linux driver) (d1x
|
||||
r1.41)
|
||||
|
||||
2005-02-24 Bradley Bell <btb@icculus.org>
|
||||
|
||||
* main/movie.c: change movie Warnings to con_printf, simplify
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: gr.c,v 1.43 2005-02-25 05:20:36 chris Exp $ */
|
||||
/* $Id: gr.c,v 1.44 2005-02-25 06:31:53 btb Exp $ */
|
||||
/*
|
||||
*
|
||||
* OGL video functions. - Added 9/15/99 Matthew Mueller
|
||||
|
@ -531,6 +531,8 @@ int gr_init()
|
|||
void gr_close()
|
||||
{
|
||||
// mprintf((0,"ogl init: %s %s %s - %s\n",glGetString(GL_VENDOR),glGetString(GL_RENDERER),glGetString(GL_VERSION),glGetString,(GL_EXTENSIONS)));
|
||||
ogl_brightness_r = ogl_brightness_g = ogl_brightness_b = 0;
|
||||
ogl_setbrightness_internal();
|
||||
|
||||
ogl_close();//platform specific code
|
||||
if (grd_curscreen){
|
||||
|
|
Loading…
Reference in a new issue