Commit Graph

6 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 527471a7de *-wgl finally links (who knows if it works?:) and some more conceptual
cleanup
2001-04-17 15:55:33 +00:00
Bill Currie dbca31519f qw-client-wgl and nq-wgl get to (but fail) the link stage 2001-04-17 06:55:50 +00:00
Bill Currie f5c01925d4 d_8to16table moved to vid_common_sw.c and fix vid_fbdev blackness (must call
VID_InitGamma before VID_SetPalette)
2001-04-17 06:13:51 +00:00
Ragnvald Maartmann-Moe IV 66fafd3e0e First stage of video and input system merge. The city has collapsed, wreckage sifting ensues... 2001-04-15 04:18:22 +00:00