File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -174,9 +174,9 @@ void dxEnvironmentRender::OnFrame(CEnvironment &env)
174174 // . very very ugly hack
175175 if (HW.Caps .raster_major >= 3 && HW.Caps .geometry .bVTF ){
176176 // tonemapping in VS
177- mixRen.sky_r_textures .push_back (mk_pair (u32 (D3DVERTEXTEXTURESAMPLER0 ),tonemap)); // . hack
178- mixRen.sky_r_textures_env .push_back (mk_pair (u32 (D3DVERTEXTEXTURESAMPLER0 ),tonemap)); // . hack
179- mixRen.clouds_r_textures .push_back (mk_pair (u32 (D3DVERTEXTEXTURESAMPLER0 ),tonemap)); // . hack
177+ mixRen.sky_r_textures .push_back (mk_pair (u32 (CTexture::rstVertex ),tonemap)); // . hack
178+ mixRen.sky_r_textures_env .push_back (mk_pair (u32 (CTexture::rstVertex ),tonemap)); // . hack
179+ mixRen.clouds_r_textures .push_back (mk_pair (u32 (CTexture::rstVertex ),tonemap)); // . hack
180180 } else {
181181 // tonemapping in PS
182182 mixRen.sky_r_textures .push_back (mk_pair (2 ,tonemap)); // . hack
You can’t perform that action at this time.
0 commit comments