From: divverent Date: Tue, 30 Aug 2011 14:55:33 +0000 (+0000) Subject: fix a typo causing compile error X-Git-Tag: xonotic-v0.5.0~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e27b15eb49d1468db1c78cdd2aa5b5d473f68bc8;p=xonotic%2Fdarkplaces.git fix a typo causing compile error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11314 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=36e3a2a704bfe1acd241c957f1cca1c8cbe6b49e --- diff --git a/gl_rmain.c b/gl_rmain.c index f4f5dfe2..29095574 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -2630,8 +2630,8 @@ void R_SetupShader_Surface(const vec3_t lightcolorbase, qboolean modellighting, 1.0 / max(1, (permutation & SHADERPERMUTATION_OFFSETMAPPING_RELIEFMAPPING) ? r_glsl_offsetmapping_reliefmapping_steps.integer : r_glsl_offsetmapping_steps.integer), max(1, r_glsl_offsetmapping_reliefmapping_refinesteps.integer) ); - hlslPSSetParameter1f(D3DPSREGISTER_OffsetMapping_LodDistance, r_glsl_offsetmapping_lod_distance.integer) - hlslPSSetParameter1f(D3DPSREGISTER_OffsetMapping_Bias, rsurface.texture->offsetbias) + hlslPSSetParameter1f(D3DPSREGISTER_OffsetMapping_LodDistance, r_glsl_offsetmapping_lod_distance.integer); + hlslPSSetParameter1f(D3DPSREGISTER_OffsetMapping_Bias, rsurface.texture->offsetbias); hlslPSSetParameter2f(D3DPSREGISTER_ScreenToDepth, r_refdef.view.viewport.screentodepth[0], r_refdef.view.viewport.screentodepth[1]); hlslPSSetParameter2f(D3DPSREGISTER_PixelToScreenTexCoord, 1.0f/vid.width, 1.0/vid.height);