Commit Graph

5 Commits

Author SHA1 Message Date
Bill Currie f1730d7870 Move VID_ShiftPalette from all the driver files to vid_common_sw.c
Do the palette gamma correction inside VID_UpdateGamma (fixes sw palette gamma)
2001-05-25 16:42:49 +00:00
Bill Currie a87c4bbd93 vid.c:
Don't bother checking vid_gamma for CVAR_ROM becuase it is impossible to
	get to VID_UpdateGamma when it is set except for when the cvar is
	initially created, and we /want/ the code to execute in that case.
vid.h:
	add initialized to viddef_t
vid_common_gl.c:
	actually /use/ gammatable (it tends to help)
vid_*.c:
	clean up rendundant decls of gammatable, vid_initialized (now
	vid.initialized) and make sure vid.initialized gets set.
gl_view.c:
	remove gammatable decls
2001-05-25 04:03:47 +00:00
Bill Currie a3518d44ed Nuke V_CheckGamma, moving its sole contribution to VID_UpdateGamma in vid.c 2001-05-24 15:48:39 +00:00
Bill Currie 6fcf8395ca FBDEV GLX SVGAlib X11 all build, but nq-glx doesn't link yet due to some
changes between nq and qw (gl_mtexable, texture_mode and GL_CheckBrightness)
2001-04-15 21:11:41 +00:00
Ragnvald Maartmann-Moe IV a4db2f0e5b Damn the moles. 2001-04-15 06:43:11 +00:00