load gloss/normalmap based on hardware capabilities, rather than r_glsl
and gl_combine cvars
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9551
d7cf8633-e32d-0410-b094-
e92efae38249
void gl_main_start(void)
{
- r_loadnormalmap = r_glsl.integer || gl_combine.integer;
- r_loadgloss = r_glsl.integer || gl_combine.integer;
- r_loadfog = !r_glsl.integer;
+ r_loadnormalmap = r_loadgloss = gl_dot3arb || gl_support_fragment_shader;
+ r_loadfog = true;
r_numqueries = 0;
r_maxqueries = 0;