From: divverent Date: Tue, 30 Aug 2011 14:55:33 +0000 (+0000) Subject: fix a typo causing compile error X-Git-Tag: xonotic-v0.6.0~163^2~238 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=36e3a2a704bfe1acd241c957f1cca1c8cbe6b49e;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 --- diff --git a/gl_rmain.c b/gl_rmain.c index edc1adca..bcd76446 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -2631,8 +2631,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);