1414#include " Layers/xrRenderDX10/MSAA/dx10MSAABlender.h"
1515#include " Layers/xrRenderDX10/DX10 Rain/dx10RainBlender.h"
1616
17+ #if defined(LINUX)
18+ float OLES_SUN_LIMIT_27_01_07 = 100 .f;
19+ #endif
20+
1721void CRenderTarget::u_setrt (const ref_rt& _1, const ref_rt& _2, const ref_rt& _3, GLuint zb)
1822{
1923 if (_1)
@@ -188,7 +192,7 @@ Ivector vpack(Fvector src)
188192 float e_best = flt_max;
189193 int r = bx, g = by, b = bz;
190194#ifdef DEBUG
191- int d=0 ;
195+ int d=0 ;
192196#else
193197 int d = 3 ;
194198#endif
@@ -248,11 +252,11 @@ CRenderTarget::CRenderTarget()
248252 SampleCount = RImplementation.o .dx10_msaa_samples ;
249253
250254#ifdef DEBUG
251- Msg (" MSAA samples = %d" , SampleCount );
255+ Msg (" MSAA samples = %d" , SampleCount );
252256 if ( RImplementation.o .dx10_msaa_opt )
253- Msg (" dx10_MSAA_opt = on" );
257+ Msg (" dx10_MSAA_opt = on" );
254258 if ( RImplementation.o .dx10_gbuffer_opt )
255- Msg (" dx10_gbuffer_opt = on" );
259+ Msg (" dx10_gbuffer_opt = on" );
256260#endif // DEBUG
257261 param_blur = 0 .f ;
258262 param_gray = 0 .f ;
@@ -897,7 +901,7 @@ CRenderTarget::CRenderTarget()
897901 s_flip.create (" effects\\ screen_set" , r2_base);
898902 g_flip.create (FVF::F_TL, RCache.Vertex .Buffer (), RCache.QuadIB );
899903
900- //
904+ //
901905 dwWidth = Device.dwWidth ;
902906 dwHeight = Device.dwHeight ;
903907}
@@ -914,13 +918,13 @@ CRenderTarget::~CRenderTarget()
914918 t_LUM_dest->surface_set (GL_TEXTURE_2D, NULL );
915919
916920#ifdef DEBUG
917- GLuint pSurf = 0 ;
921+ GLuint pSurf = 0 ;
918922
919- pSurf = t_envmap_0->surface_get ();
920- glDeleteTextures (1 , &pSurf);
923+ pSurf = t_envmap_0->surface_get ();
924+ glDeleteTextures (1 , &pSurf);
921925
922- pSurf = t_envmap_1->surface_get ();
923- glDeleteTextures (1 , &pSurf);
926+ pSurf = t_envmap_1->surface_get ();
927+ glDeleteTextures (1 , &pSurf);
924928#endif // DEBUG
925929 t_envmap_0->surface_set (GL_TEXTURE_CUBE_MAP, NULL );
926930 t_envmap_1->surface_set (GL_TEXTURE_CUBE_MAP, NULL );
@@ -940,7 +944,7 @@ CRenderTarget::~CRenderTarget()
940944 t_noise_mipped->surface_set (GL_TEXTURE_2D, NULL );
941945 glDeleteTextures (1 , &t_noise_surf_mipped);
942946
943- //
947+ //
944948 accum_spot_geom_destroy ();
945949 accum_omnip_geom_destroy ();
946950 accum_point_geom_destroy ();
0 commit comments