]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a typo causing compile error
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 Aug 2011 14:55:33 +0000 (14:55 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 30 Aug 2011 14:57:43 +0000 (16:57 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11314 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=36e3a2a704bfe1acd241c957f1cca1c8cbe6b49e

gl_rmain.c

index f4f5dfe2798ae83b847d2f7b7c7284d5604c02f4..290955741ee86ec4e4e1c194c98ca4e916f608e6 100644 (file)
@@ -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);