Skip to content

Commit c47d03f

Browse files
committed
gl_rendertarget: Create a dummy shadowmap color target.
1 parent c5c3e95 commit c47d03f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Layers/xrRenderPC_GL/gl_rendertarget.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,8 @@ CRenderTarget::CRenderTarget ()
385385
s_create_minmax_sm.create( &TempBlender, "null" );
386386
}
387387

388-
//rt_smap_surf.create (r2_RT_smap_surf, size,size,nullrt );
388+
// TODO: OGL: Don't create a color buffer for the shadow map.
389+
rt_smap_surf.create (r2_RT_smap_surf, size,size,nullrt );
389390
//rt_smap_ZB = NULL;
390391
s_accum_mask.create (b_accum_mask, "r3\\accum_mask");
391392
s_accum_direct.create (b_accum_direct, "r3\\accum_direct");

0 commit comments

Comments
 (0)